mirror of
https://github.com/adulau/ssldump.git
synced 2024-12-22 16:05:58 +00:00
Fix leak in associative array implementation
This commit is contained in:
parent
6073bd8954
commit
1ad3de3fc8
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ int r_assoc_destroy(assocp)
|
|||
for(i=0;i<assoc->size;i++)
|
||||
destroy_assoc_chain(assoc->chains[i]);
|
||||
|
||||
free(assoc->chains);
|
||||
free(assoc);
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue