fix memory leak when user doesn't enter anything

This commit is contained in:
Chris Cromer 2021-07-16 13:36:25 -04:00
parent e548acdb8a
commit 1cbe850a10
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}