diff options
author | Ron Yorston <rmy@pobox.com> | 2017-08-22 14:56:12 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-22 14:56:12 +0100 |
commit | ce9af1cc5ea23f754587448cf35b5120c77bfeef (patch) | |
tree | 69e5eaba5e75ab909ed92d5045393471b8ff3c13 /util-linux/readprofile.c | |
parent | c170026700eabb10147dd848c45c06995b43a32e (diff) | |
parent | e837a0dbbebf4229306df98fe9ee3b9bb30630c4 (diff) | |
download | busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.tar.gz busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.tar.bz2 busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'util-linux/readprofile.c')
-rw-r--r-- | util-linux/readprofile.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c index b045657d8..394ece1dd 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c | |||
@@ -266,8 +266,10 @@ int readprofile_main(int argc UNUSED_PARAM, char **argv) | |||
266 | printf("%6u %-40s %8.4f\n", | 266 | printf("%6u %-40s %8.4f\n", |
267 | total, "total", total/(double)(fn_add-add0)); | 267 | total, "total", total/(double)(fn_add-add0)); |
268 | 268 | ||
269 | fclose(map); | 269 | if (ENABLE_FEATURE_CLEAN_UP) { |
270 | free(buf); | 270 | fclose(map); |
271 | free(buf); | ||
272 | } | ||
271 | 273 | ||
272 | return EXIT_SUCCESS; | 274 | return EXIT_SUCCESS; |
273 | } | 275 | } |