Fixed a memory leak
This commit is contained in:
parent
5e5729e7fc
commit
b8b63c416c
@ -81,6 +81,7 @@ void wofi_run_init(struct map* config) {
|
|||||||
} while((str = strtok_r(NULL, ":", &save_ptr)) != NULL);
|
} while((str = strtok_r(NULL, ":", &save_ptr)) != NULL);
|
||||||
free(path);
|
free(path);
|
||||||
map_free(cached);
|
map_free(cached);
|
||||||
|
map_free(entries);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wofi_run_exec(const gchar* cmd) {
|
void wofi_run_exec(const gchar* cmd) {
|
||||||
|
Loading…
Reference in New Issue
Block a user