summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/strings.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/strings.c b/src/strings.c
index 86c2c4b1..40774e46 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);