diff options
author | James Booth <boothj5@gmail.com> | 2015-03-17 20:42:21 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-03-17 20:42:21 +0000 |
commit | d6977e31cd933917c748983caaa511e8b12cbb02 (patch) | |
tree | 76c24f625088666a45043093fca869c69a4cdd0c | |
parent | 311b64a379a7af82b09ec4424246b892cedcfeb9 (diff) | |
download | profani-tty-d6977e31cd933917c748983caaa511e8b12cbb02.tar.gz |
Fix buffer entry free
-rw-r--r-- | src/ui/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/buffer.c b/src/ui/buffer.c index d16eec76..40a994f1 100644 --- a/src/ui/buffer.c +++ b/src/ui/buffer.c @@ -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); } \ No newline at end of file |