mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 09:27:04 +00:00
Fix memory leak in ssl_process_server_session_id()
This commit is contained in:
parent
8c8c97fcb0
commit
cbff44d4a4
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ int ssl_process_server_session_id(ssl,d,msg,len)
|
||||||
abort:
|
abort:
|
||||||
if(!restored){
|
if(!restored){
|
||||||
/* Copy over the session ID */
|
/* Copy over the session ID */
|
||||||
r_data_zfree(d->session_id);
|
r_data_destroy(&d->session_id);
|
||||||
r_data_create(&d->session_id,msg,len);
|
r_data_create(&d->session_id,msg,len);
|
||||||
}
|
}
|
||||||
return(_status);
|
return(_status);
|
||||||
|
|
Loading…
Reference in a new issue