From 028324109b0e90a18d0b38c6c45a603a6c8732b5 Mon Sep 17 00:00:00 2001 From: Glenn Burkhardt Date: Fri, 27 Jun 2003 17:02:13 +0000 Subject: [PATCH] prevent double free of 'ce->cd_file' or later use of invalid data --- uip/mhfree.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 1.7.10.4