aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_musiconhold.c')
-rw-r--r--res/res_musiconhold.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 141f89c01..630a6db58 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -1349,6 +1349,8 @@ static int cli_files_show(int fd, int argc, char *argv[])
}
}
+ ao2_iterator_destroy(&i);
+
return 0;
}
@@ -1371,6 +1373,8 @@ static int moh_classes_show(int fd, int argc, char *argv[])
}
}
+ ao2_iterator_destroy(&i);
+
return 0;
}