From b8b63c416c1a763276d5848e048e52877cd5a4af Mon Sep 17 00:00:00 2001 From: Scoopta Date: Sun, 1 Dec 2019 23:17:23 -0800 Subject: [PATCH] Fixed a memory leak --- modes/run.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modes/run.c b/modes/run.c index cf54be5..fa5dc9a 100644 --- a/modes/run.c +++ b/modes/run.c @@ -81,6 +81,7 @@ void wofi_run_init(struct map* config) { } while((str = strtok_r(NULL, ":", &save_ptr)) != NULL); free(path); map_free(cached); + map_free(entries); } void wofi_run_exec(const gchar* cmd) {