about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-09-05 22:55:23 +0100
committerJames Booth <boothj5@gmail.com>2016-09-05 22:55:23 +0100
commit2613d23f8b33b248dceb91d0ed16e0362a719945 (patch)
treed3373bdbbb35866e1669be3dee6e7f054feecd4e
parent9e59571f840ea13aadd2774dc330a62c9749a242 (diff)
downloadprofani-tty-2613d23f8b33b248dceb91d0ed16e0362a719945.tar.gz
Free string on /plugins install
-rw-r--r--src/command/cmd_funcs.c1
1 files changed, 1 insertions, 0 deletions
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) {