patch: psiconv: memory leak

From: Patrick Lam (plam@plam.lcs.mit.edu)
Date: Sat Mar 23 2002 - 23:23:48 EST

  • Next message: Patrick Lam: "commit: minor stuff"

    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 : Sat Mar 23 2002 - 23:24:18 EST