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; }