fix memory leak when user doesn't enter anything
This commit is contained in:
parent
e548acdb8a
commit
1cbe850a10
@ -79,6 +79,7 @@ void loop() {
|
||||
|
||||
// The user didn't type anything so restart the loop
|
||||
if (args->size == 0) {
|
||||
free_string_array(args);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user