search for: nb_commands

Displaying 1 result from an estimated 1 matches for "nb_commands".

Did you mean: n_commands
2013 Sep 24
1
[PATCH 1/1] com32: hdt: fix memory leak
...dt/hdt-cli.c index 7542da8..6c5baf1 100644 --- a/com32/hdt/hdt-cli.c +++ b/com32/hdt/hdt-cli.c @@ -779,6 +779,7 @@ void start_auto_mode(struct s_hardware *hardware) } mypch = strtok(NULL, AUTO_SEPARATOR); } + free(temp); /* Executing found commands */ for (int i = 1; i <= nb_commands; i++) { -- 1.7.10.4