From ce311fcbf746750ac2eea557371de2e9623be295 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 8 Feb 2022 14:52:30 -0500 Subject: [PATCH] TT#136957 double free fix for 3a90f4438 related to #1434 Change-Id: I70899b3cff2a5dcef9d6cba91fa09bdd6f505897 --- daemon/codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/codec.c b/daemon/codec.c index a31ddf33f..b712f8606 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -2459,7 +2459,7 @@ static int __buffer_dtx(struct dtx_buffer *dtxb, struct codec_ssrc_handler *deco } // packet now consumed if there was one - int ret = packet ? 0 : 1; + int ret = packet ? 1 : 0; packet = NULL; mutex_unlock(&dtxb->lock);