aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cpulimit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpulimit.c b/src/cpulimit.c
index 0bf3d9c..300d320 100644
--- a/src/cpulimit.c
+++ b/src/cpulimit.c
@@ -496,6 +496,7 @@ int main(int argc, char **argv) {
}
else if (child > 0) {
//parent code
+ free(cmd_args);
int limiter = fork();
if (limiter < 0) {
exit(EXIT_FAILURE);
Un proyecto texto-plano.xyz