about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@openmailbox.org>2015-10-26 14:24:11 +0100
committerMichael Vetter <jubalh@openmailbox.org>2015-10-26 14:24:11 +0100
commita6f27d3ea73ad0165c1bb12744ecc172d43511e3 (patch)
tree448bf360517dd2018a67a02b269eb2ecfc7d45e0 /src/ui
parent523d92e950f3eecb700dd2495c423cce3bfd0939 (diff)
downloadprofani-tty-a6f27d3ea73ad0165c1bb12744ecc172d43511e3.tar.gz
Fix pointer dereferencing
Setting the pointer to NULL had no effect outside the function so far.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/buffer.c b/src/ui/buffer.c
index 20528de4..629aa9e7 100644
--- a/src/ui/buffer.c
+++ b/src/ui/buffer.c
@@ -76,7 +76,6 @@ buffer_free(ProfBuff buffer)
 {
     g_slist_free_full(buffer->entries, (GDestroyNotify)_free_entry);
     free(buffer);
-    buffer = NULL;
 }
 
 void