about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ui/buffer.c2
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