Re: patch: psiconv: memory leak

From: Dom Lachowicz (doml@appligent.com)
Date: Mon Mar 25 2002 - 09:30:56 EST

  • Next message: Hubert Figuiere: "Fwd: UT_SHOULD_NOT_HAPPEN at ie_exp_Text.cpp:352"

    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))





    This archive was generated by hypermail 2.1.4 : Mon Mar 25 2002 - 09:33:23 EST