From: Glenn Burkhardt Date: Fri, 27 Jun 2003 17:02:13 +0000 (+0000) Subject: prevent double free of 'ce->cd_file' or later use of invalid data X-Git-Tag: RELEASE_1_2~102 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=028324109b0e90a18d0b38c6c45a603a6c8732b5;p=mmh prevent double free of 'ce->cd_file' or later use of invalid data --- diff --git a/uip/mhfree.c b/uip/mhfree.c index 5751801..c43c5e9 100644 --- a/uip/mhfree.c +++ b/uip/mhfree.c @@ -271,6 +271,7 @@ free_encoding (CT ct, int toplevel) if (ce->ce_unlink) unlink (ce->ce_file); free (ce->ce_file); + ce->ce_file = NULL; } if (toplevel) {