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:
parent
96a4428bdb
commit
79fdc4e766
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue