mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-06 03:50:08 +02:00
fix memory leak found by valgrind
This commit is contained in:
parent
1c7ed9af7e
commit
e3076dd341
1 changed files with 1 additions and 0 deletions
|
@ -904,6 +904,7 @@ char* dc_create_outgoing_rfc724_mid(const char* grpid, const char* from_addr)
|
||||||
/* ^^^ `Mr.` is currently not used, however, this may change in future */
|
/* ^^^ `Mr.` is currently not used, however, this may change in future */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(rand1);
|
||||||
free(rand2);
|
free(rand2);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue