aboutsummaryrefslogtreecommitdiffstats
path: root/main/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/db.c')
-rw-r--r--main/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/db.c b/main/db.c
index 34041cba2..b7182e60c 100644
--- a/main/db.c
+++ b/main/db.c
@@ -466,7 +466,7 @@ void ast_db_freetree(struct ast_db_entry *dbe)
while (dbe) {
last = dbe;
dbe = dbe->next;
- free(last);
+ ast_free(last);
}
}