From e3329a98a99a3490566eb9910d3edd811aeb087a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 1 May 2011 22:49:34 +0200 Subject: [PATCH] Corrected previous revision which freed memory too generously --- libisofs/fs_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/fs_image.c b/libisofs/fs_image.c index b2eeb77..6906883 100644 --- a/libisofs/fs_image.c +++ b/libisofs/fs_image.c @@ -1599,9 +1599,9 @@ int iso_file_source_new_ifs(IsoImageFilesystem *fs, IsoFileSource *parent, sprintf(msg, "Character set name recorded in ISO image: '%.80s'", cs_value); + free(cs_value); } iso_msgs_submit(0, msg, 0, "NOTE", 0); - free(cs_value); cs_value = NULL; } }