1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Fix buffer entry free

This commit is contained in:
James Booth 2015-03-17 20:42:21 +00:00
parent 311b64a379
commit d6977e31cd

View File

@ -131,9 +131,9 @@ _free_entry(ProfBuffEntry *entry)
free(entry->message);
free(entry->from);
g_date_time_unref(entry->time);
free(entry);
if (entry->receipt) {
free(entry->receipt->id);
free(entry->receipt);
}
free(entry);
}