projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b6cd7
)
smemcap: close /proc handle upon cleaning up
author
Alexander Shishkin
<virtuoso@slind.org>
Thu, 21 Oct 2010 20:44:47 +0000
(23:44 +0300)
committer
Denys Vlasenko
<dvlasenk@redhat.com>
Fri, 22 Oct 2010 11:18:23 +0000
(13:18 +0200)
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
procps/smemcap.c
patch
|
blob
|
history
diff --git
a/procps/smemcap.c
b/procps/smemcap.c
index
f951a5f
..
196c91f
100644
(file)
--- a/
procps/smemcap.c
+++ b/
procps/smemcap.c
@@
-125,5
+125,8
@@
int smemcap_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
}
}
+ if (ENABLE_FEATURE_CLEAN_UP)
+ closedir(d);
+
return EXIT_SUCCESS;
}