From adc3d743441cfab55c67519a584c313775986091 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Wed, 28 Apr 2021 17:32:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/tests/pusher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/tests/pusher.c b/api/tests/pusher.c index 3c5d580b..1ea158f1 100644 --- a/api/tests/pusher.c +++ b/api/tests/pusher.c @@ -48,9 +48,9 @@ void release_pusher(mk_media *ptr) { void release_context(Context **ptr){ if (ptr && *ptr) { - release_pusher((*ptr)->pusher); - release_media((*ptr)->media); - release_player((*ptr)->player); + release_pusher(&(*ptr)->pusher); + release_media(&(*ptr)->media); + release_player(&(*ptr)->player); free(*ptr); *ptr = NULL; }