Skip to content

Commit 72f775f

Browse files
committed
MT#60827 use correct free function
Change-Id: Ifc492c579872358cdd2dc5fa3f2f20cbbab72c57 (cherry picked from commit ee2e976) (cherry picked from commit 85feb10) (cherry picked from commit 4402c05)
1 parent a411e99 commit 72f775f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/codec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4006,7 +4006,7 @@ void packet_encoded_packetize(AVPacket *pkt, struct codec_ssrc_handler *ch, stru
40064006

40074007
if (G_UNLIKELY(ret == -1 || pkt->pts == AV_NOPTS_VALUE)) {
40084008
// nothing
4009-
free(buf);
4009+
bufferpool_unref(buf);
40104010
break;
40114011
}
40124012

0 commit comments

Comments
 (0)