I don't know what the etiquette is about the psiconv tree, so here's a patch
to fix a memory leak.

Index: list.c
===================================================================
RCS file: /cvsroot/psiconv/psiconv/list.c,v
retrieving revision 1.3
diff -u -r1.3 list.c
--- list.c      6 Mar 2001 03:48:46 -0000       1.3
+++ list.c      24 Mar 2002 04:18:46 -0000
@@ -56,6 +56,7 @@
   l->max_len = 0;
   l->cur_len = 0;
   l->els = NULL;
+  free(l);
 }
 
 void psiconv_list_free_el(psiconv_list l, void free_el(void *el))

Reply via email to