Fixed memory leak

This commit is contained in:
Scoopta 2020-01-29 21:51:25 -08:00
parent c971d19fa0
commit 3d39f7aa5f

View File

@ -569,6 +569,7 @@ void wofi_remove_cache(struct mode* mode, const char* _cmd) {
fclose(file);
}
free(cache_path);
free(cmd);
}
struct wl_list* wofi_read_cache(struct mode* mode) {