]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Correctly fix it.
authorUlrich Drepper <drepper@redhat.com>
Fri, 2 Sep 2005 19:51:21 +0000 (19:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 2 Sep 2005 19:51:21 +0000 (19:51 +0000)
src/strings.c

index 86c2c4b1f66ae7fe4be735de2e51ad83924d4b1a..40774e46af2718b5e240ab456a3580560b4a457c 100644 (file)
@@ -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);