about summary refs log tree commit diff stats
path: root/src/plugins/callbacks.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-25 22:23:54 +0100
committerJames Booth <boothj5@gmail.com>2016-07-25 22:23:54 +0100
commitd5d04756ce278852cb465541f3b5bb4cf84f66ca (patch)
treef6b38aede1000ff81d20d65af3325fc22bc53e8b /src/plugins/callbacks.c
parent943e91268c2489600ac1f28836fd0e24a0fd8dc2 (diff)
downloadprofani-tty-d5d04756ce278852cb465541f3b5bb4cf84f66ca.tar.gz
Fix memory leaks
Diffstat (limited to 'src/plugins/callbacks.c')
-rw-r--r--src/plugins/callbacks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/callbacks.c b/src/plugins/callbacks.c
index 40a35400..364cb669 100644
--- a/src/plugins/callbacks.c
+++ b/src/plugins/callbacks.c
@@ -299,6 +299,7 @@ plugins_run_command(const char * const input)
         curr_hash = g_list_next(curr_hash);
     }
 
+    g_list_free(command_hashes);
     g_strfreev(split);
     return FALSE;
 }