diff mcabber/src/hbuf.c @ 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 a3b8956db7bc
children c65b71dcda94
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;
 }