mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 22:26:21 +00:00
Fix some more memory leaks + an invalid read.
`ProfMessage` was not completely initialized, fix this by using `calloc()` for the allocation. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
@@ -169,6 +169,7 @@ otr_start_query(void)
|
||||
static void
|
||||
_otr_shutdown(void)
|
||||
{
|
||||
g_hash_table_destroy(smp_initiators);
|
||||
if (jid) {
|
||||
free(jid);
|
||||
jid = NULL;
|
||||
|
||||
Reference in New Issue
Block a user