about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-06-08 21:29:15 +0100
committerJames Booth <boothj5@gmail.com>2016-06-08 21:29:15 +0100
commit4c03ee60667739d709d7f0d66a7c8173d103af24 (patch)
tree57598449158f5237046811feeb7ef8a706774968
parent086fd30e2399dcca8a75a71f0bac4a8852f2de46 (diff)
downloadprofani-tty-4c03ee60667739d709d7f0d66a7c8173d103af24.tar.gz
Free string on connect autocomplete
-rw-r--r--src/command/cmd_ac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c
index fca3326a..1dfc5cc0 100644
--- a/src/command/cmd_ac.c
+++ b/src/command/cmd_ac.c
@@ -2530,6 +2530,8 @@ _connect_autocomplete(ProfWin *window, const char *const input)
                 return found;
             }
         }
+
+        g_string_free(beginning, TRUE);
     }
 
     g_strfreev(args);