diff --git a/src/wofi.c b/src/wofi.c index 2a3ea55..15d99b2 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -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) {