Skip to content

Commit ee2e976

Browse files
committed
MT#60827 use correct free function
Change-Id: Ifc492c579872358cdd2dc5fa3f2f20cbbab72c57
1 parent 98d6575 commit ee2e976

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
@@ -4020,7 +4020,7 @@ void packet_encoded_packetize(AVPacket *pkt, struct codec_ssrc_handler *ch, stru
40204020

40214021
if (G_UNLIKELY(ret == -1 || pkt->pts == AV_NOPTS_VALUE)) {
40224022
// nothing
4023-
free(buf);
4023+
bufferpool_unref(buf);
40244024
break;
40254025
}
40264026

0 commit comments

Comments
 (0)