From 2613d23f8b33b248dceb91d0ed16e0362a719945 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 5 Sep 2016 22:55:23 +0100 Subject: [PATCH] Free string on /plugins install --- src/command/cmd_funcs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index f163d3bc..f4b597c0 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -6090,6 +6090,7 @@ cmd_plugins(ProfWin *window, const char *const command, gchar **args) } g_free(plugin_name); + free(filename); return TRUE; } else if (g_strcmp0(args[0], "load") == 0) { if (args[1] == NULL) {