1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00

fix bug for rtmp client use NULL ptr.

This commit is contained in:
winlin 2015-12-28 18:13:40 +08:00
parent 96a4428bdb
commit 79fdc4e766

View file

@ -93,9 +93,7 @@ SrsSimpleRtmpClient::~SrsSimpleRtmpClient()
srs_freep(kbps); srs_freep(kbps);
srs_freep(transport); srs_freep(transport);
srs_freep(client); srs_freep(client);
kbps->set_io(NULL, NULL);
} }
int SrsSimpleRtmpClient::connect(string url, int64_t connect_timeout, int64_t stream_timeout) int SrsSimpleRtmpClient::connect(string url, int64_t connect_timeout, int64_t stream_timeout)