From: Walter Doekes Date: Fri, 26 Sep 2014 15:43:04 +0000 (+0000) Subject: core: Ouch, forgot to undo a test free() in r423978. X-Git-Tag: 14.0.0-beta1~1624 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0abb82ab83662f6815386f1d4cc2b8f35a2fd8d;p=thirdparty%2Fasterisk.git core: Ouch, forgot to undo a test free() in r423978. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424038 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/abstract_jb.c b/main/abstract_jb.c index c0e0429f3b..e4c3c76ed3 100644 --- a/main/abstract_jb.c +++ b/main/abstract_jb.c @@ -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"); }