diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 8179dee358..e38ad5c193 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -1530,6 +1530,9 @@ SWITCH_STANDARD_API(eval_function) free(expanded); } + switch_event_destroy(&event); + + return SWITCH_STATUS_SUCCESS; }