diff options
-rw-r--r-- | procps/smemcap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/procps/smemcap.c b/procps/smemcap.c index f951a5f..196c91f 100644 --- 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; } |