Browse Source

MT#55283 fix async reference leak

Change-Id: Ie8cc5e6f46712b5f7d10fdea044bfafca061c908
pull/1826/head
Richard Fuchs 2 years ago
parent
commit
2f71b33497
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/codeclib.c

+ 1
- 1
lib/codeclib.c View File

@ -5473,7 +5473,7 @@ void codec_cc_free(codec_cc_t **ccp) {
{ {
LOCK(&c->async_lock); LOCK(&c->async_lock);
if (c->async_busy) {
if (c->async_busy && !c->async_blocked) {
c->async_shutdown = true; c->async_shutdown = true;
return; // wait for callback return; // wait for callback
} }


Loading…
Cancel
Save