Fixing a few last cppcheck errors/warnings

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2019-02-19 17:42:27 +01:00
parent 6a47f9e775
commit 9aab83c509
8 changed files with 11 additions and 8 deletions
+5
View File
@@ -195,5 +195,10 @@ int main(int n, char **v)
handle_event(h, e);
}
if (on_off_name != NULL)
free(on_off_name);
if (on_off_action != NULL)
free(on_off_action);
return 0;
}