summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-08-10 18:04:56 -0400
committerTingPing <tngpng@gmail.com>2013-08-10 18:04:56 -0400
commit41c0c345cd45f01ec313de05aac7a1715ebd4476 (patch)
tree38f6fa9a8eff49aa7d0ffd85d4d282b03e823f6c /src
parentc8f6d2c538b4b3960fb6e01638b4d6a6ee7b40de (diff)
And free connect command..
Diffstat (limited to 'src')
-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;
 }