summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/inbound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index ec87820a..a8c19504 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -1454,6 +1454,8 @@ inbound_exec_eom_cmd (char *str, void *sess)
 
 	cmd = command_insert_vars ((session*)sess, (str[0] == '/') ? str + 1 : str);
 	handle_command ((session*)sess, cmd, TRUE);
+	g_free (cmd);
+
 	return 1;
 }