winlin

fix bug for rtmp client use NULL ptr.

@@ -93,9 +93,7 @@ SrsSimpleRtmpClient::~SrsSimpleRtmpClient() @@ -93,9 +93,7 @@ SrsSimpleRtmpClient::~SrsSimpleRtmpClient()
93 93
94 srs_freep(kbps); 94 srs_freep(kbps);
95 srs_freep(transport); 95 srs_freep(transport);
96 -  
97 srs_freep(client); 96 srs_freep(client);
98 - kbps->set_io(NULL, NULL);  
99 } 97 }
100 98
101 int SrsSimpleRtmpClient::connect(string url, int64_t connect_timeout, int64_t stream_timeout) 99 int SrsSimpleRtmpClient::connect(string url, int64_t connect_timeout, int64_t stream_timeout)