From 2f71b3349760a278fc7c0aed375d7ca9d9b929de Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 1 May 2024 09:34:17 -0400 Subject: [PATCH] MT#55283 fix async reference leak Change-Id: Ie8cc5e6f46712b5f7d10fdea044bfafca061c908 --- lib/codeclib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codeclib.c b/lib/codeclib.c index 67e6f0a76..8fcf96f90 100644 --- a/lib/codeclib.c +++ b/lib/codeclib.c @@ -5473,7 +5473,7 @@ void codec_cc_free(codec_cc_t **ccp) { { LOCK(&c->async_lock); - if (c->async_busy) { + if (c->async_busy && !c->async_blocked) { c->async_shutdown = true; return; // wait for callback }