Skip to content

Commit

Permalink
Merge pull request #330 from xubin11235/2.0release
Browse files Browse the repository at this point in the history
修复forward崩溃
  • Loading branch information
winlinvip authored Sep 2, 2016
2 parents 6696782 + 49853d2 commit 958e20a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions trunk/src/app/srs_app_forward.cpp
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ SrsForwarder::SrsForwarder(SrsSource* _source)

SrsForwarder::~SrsForwarder()
{
on_unpublish();

srs_freep(pthread);
srs_freep(queue);
srs_freep(jitter);
Expand Down
1 change: 1 addition & 0 deletions trunk/src/app/srs_app_st.cpp
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ void srs_close_stfd(st_netfd_t& stfd)
// we must ensure the close is ok.
int err = st_netfd_close(stfd);
srs_assert(err != -1);
stfd = NULL;
}
}

0 comments on commit 958e20a

Please sign in to comment.