diff options
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 15cc2dcb2..0cf934515 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1670,6 +1670,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags datastore->inheritance = DATASTORE_INHERIT_FOREVER; if (!(dialed_interfaces = ast_calloc(1, sizeof(*dialed_interfaces)))) { + ast_datastore_free(datastore); ast_free(tmp); goto out; } |