1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 10:39:27 +02:00

fix memory leak found by valgrind

This commit is contained in:
B. Petersen 2018-07-12 22:53:15 +02:00
parent 1c7ed9af7e
commit e3076dd341

View file

@ -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 */
}
free(rand1);
free(rand2);
return ret;
}