Fixed memory leak
This commit is contained in:
parent
c971d19fa0
commit
3d39f7aa5f
@ -569,6 +569,7 @@ void wofi_remove_cache(struct mode* mode, const char* _cmd) {
|
|||||||
fclose(file);
|
fclose(file);
|
||||||
}
|
}
|
||||||
free(cache_path);
|
free(cache_path);
|
||||||
|
free(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct wl_list* wofi_read_cache(struct mode* mode) {
|
struct wl_list* wofi_read_cache(struct mode* mode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user