TT#136957 double free fix for 3a90f4438

related to #1434

Change-Id: I70899b3cff2a5dcef9d6cba91fa09bdd6f505897
mr10.3
Richard Fuchs 4 years ago
parent 8598b2fb7c
commit ce311fcbf7

@ -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);

Loading…
Cancel
Save