diff mcabber/src/hbuf.c @ 898:c65b71dcda94

Fix memory leak in scr_UpdateWindow()
author Mikael Berthe <mikael@lilotux.net>
date Thu, 08 Jun 2006 21:42:52 +0200
parents 92aaf2af786b
children a07bd351008b
line wrap: on
line diff
--- a/mcabber/src/hbuf.c	Thu Jun 08 21:29:09 2006 +0200
+++ b/mcabber/src/hbuf.c	Thu Jun 08 21:42:52 2006 +0200
@@ -245,7 +245,8 @@
 //  hbuf_get_lines(hbuf, n)
 // Returns an array of n hbb_line pointers
 // (The first line will be the line currently pointed by hbuf)
-// Note: The caller should free the array and the text pointers after use.
+// Note: The caller should free the array, the hbb_line pointers and the
+// text pointers after use.
 hbb_line **hbuf_get_lines(GList *hbuf, unsigned int n)
 {
   unsigned int i;