about summary refs log tree commit diff stats
path: root/src/command/cmd_ac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/cmd_ac.c')
-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);