changeset 893:92aaf2af786b

Fix a small memory leak in /buffer purge
author Mikael Berthe <mikael@lilotux.net>
date Thu, 01 Jun 2006 18:55:55 +0200
parents 94bb9e40e40b
children f76b32ff2f14
files mcabber/src/hbuf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/hbuf.c	Wed May 31 23:16:55 2006 +0200
+++ b/mcabber/src/hbuf.c	Thu Jun 01 18:55:55 2006 +0200
@@ -155,7 +155,7 @@
     g_free(hbuf_b_elt);
   }
 
-  g_list_free(*p_hbuf);
+  g_list_free(first_elt);
   *p_hbuf = NULL;
 }