changed back some cppcheck "fixes" and updated the cppcheck suppression list

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2019-02-20 14:42:17 +01:00
parent f4bf32d7e7
commit a82342298e
4 changed files with 12 additions and 7 deletions
+2 -4
View File
@@ -195,10 +195,8 @@ 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);
free(on_off_name);
free(on_off_action);
return 0;
}