1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix memory leak at handshake. 2.0.213

This commit is contained in:
winlin 2016-09-05 09:38:30 +08:00
parent 1214af643e
commit 6ec60b0a21
4 changed files with 13 additions and 2 deletions

View file

@ -59,6 +59,8 @@ namespace _srs_internal
public:
SrsDH();
virtual ~SrsDH();
private:
virtual void close();
public:
/**
* initialize dh, generate the public and private key.