mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 01:17: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:
|
||||
if(!restored){
|
||||
/* 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);
|
||||
}
|
||||
return(_status);
|
||||
|
|
Loading…
Reference in a new issue