core: Ouch, forgot to undo a test free() in r423978.
authorWalter Doekes <walter+asterisk@wjd.nu>
Fri, 26 Sep 2014 15:43:04 +0000 (15:43 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Fri, 26 Sep 2014 15:43:04 +0000 (15:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424038 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/abstract_jb.c

index c0e0429..e4c3c76 100644 (file)
@@ -857,7 +857,7 @@ void ast_jb_conf_default(struct ast_jb_conf *conf)
 }
 
 static void datastore_destroy_cb(void *data) {
-       free(data);
+       ast_free(data);
        ast_debug(1, "JITTERBUFFER datastore destroyed\n");
 }