libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 726ab85b22937b21e47f8c8dd71f9bc164f26f75
parent d1f3028d75e82fa6a26a30a059b11f42e360b614
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 12 Mar 2010 15:35:15 +0000

fix

Diffstat:
Msrc/main/extractor.c | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/extractor.c b/src/main/extractor.c @@ -1714,10 +1714,12 @@ extract (struct EXTRACTOR_PluginList *plugins, close (shmid); shm_unlink (fn); if (NULL != tptr) - munmap (tptr, tsize); - if (tshmid != -1) - close (tshmid); - shm_unlink (tfn); + { + munmap (tptr, tsize); + shm_unlink (tfn); + if (tshmid != -1) + close (tshmid); + } #else UnmapViewOfFile (ptr); CloseHandle (map);