summaryrefslogtreecommitdiff
path: root/src/strings.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-09-02 19:51:21 +0000
committerUlrich Drepper <drepper@redhat.com>2005-09-02 19:51:21 +0000
commit1d9381086f065a7048771f7f3411aae65b8e177f (patch)
tree0bc89f76527f976b54ce9669202be26c1ead53e9 /src/strings.c
parenta60501ed03107940c578c9f8194448f22ab62749 (diff)
downloadelfutils-1d9381086f065a7048771f7f3411aae65b8e177f.tar.gz
Correctly fix it.
Diffstat (limited to 'src/strings.c')
-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);