aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/tr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c
index 21d77ef95..5b2b9a9a4 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -324,5 +324,11 @@ int tr_main(int argc UNUSED_PARAM, char **argv)
324 str2[out_index++] = last = coded; 324 str2[out_index++] = last = coded;
325 } 325 }
326 326
327 if (ENABLE_FEATURE_CLEAN_UP) {
328 free(vector);
329 free(str2);
330 free(str1);
331 }
332
327 return EXIT_SUCCESS; 333 return EXIT_SUCCESS;
328} 334}