I found a memory leak in psiconv; the attached patch might fix that, 
but the question is whether the missing free should not be located 
in psiconv_list_free() instead of psiconv_buffer_free(); I will leave 
that to Frodo to decide.

Tomas

diff -u -r1.1.1.1 buffer.c
--- C:/cygwin/AbiCVS/psiconv/psiconv/buffer.c   2001/01/19 05:17:34     1.1.1.1
+++ C:/cygwin/AbiCVS/psiconv/psiconv/buffer.c   2002/01/26 14:59:23
@@ -72,8 +72,11 @@
 void psiconv_buffer_free(psiconv_buffer buf)
 {
   psiconv_list_free(buf->reloc_ref);
+  free(buf->reloc_ref);
   psiconv_list_free(buf->reloc_target);
+  free(buf->reloc_target);
   psiconv_list_free(buf->data);
+  free(buf->data);
   free(buf);
 }
 

Reply via email to