meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8.17k stars 2.47k forks source link

missing publisher dereference when there is no buffer #3269

Closed wan721 closed 1 year ago

wan721 commented 1 year ago

https://github.com/meetecho/janus-gateway/blob/2db954b8fac28858f10ce5b7ac46f569bd64f58a/src/plugins/janus_videoroom.c#L8206

Hi, Are we missing a janus_videoroom_publisher_dereference_nodebug(participant); when there is no buffer? Thanks

lminiero commented 1 year ago

I guess that was indeed an oversight, thanks for spotting it!