From: Ulrich Drepper Date: Fri, 2 Sep 2005 19:51:21 +0000 (+0000) Subject: Correctly fix it. X-Git-Tag: elfutils-0.120~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d9381086f065a7048771f7f3411aae65b8e177f;p=thirdparty%2Felfutils.git Correctly fix it. --- diff --git a/src/strings.c b/src/strings.c index 86c2c4b1f..40774e46a 100644 --- a/src/strings.c +++ b/src/strings.c @@ -198,10 +198,8 @@ main (int argc, char *argv[]) } if (elfmap != NULL && elfmap != MAP_FAILED) - { - munmap (elfmap, elfmap_size); - elfmap = NULL; - } + munmap (elfmap, elfmap_size); + elfmap = NULL; } while (++remaining < argc);