Pat - please cvs update because this file looks like it's been radically
altered from whatever version you've made your diff against. Also, this
leak looks to be fixed in the newer code.

Dom

On Sat, 2002-03-23 at 23:23, Patrick Lam wrote:
> 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))

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to