GNOME Bugzilla – Bug 787059
rtsp-server : Fix Memory leak isse in rtsp-sdp.c
Last modified: 2017-08-31 10:05:22 UTC
Created attachment 358820 [details] [review] Patch is attched Hi, File : gst-rtsp-server/gst/rtsp-server/rtsp-sdp.c Function mikey_add_crypto_sessions Line : 128 There is memory leak in rtsp-sdp.c file as memory is at gst_rtsp_stream_get_srtp_encoder but did not unref in error case. Solution : gst_object_unref (encoder); ++patch is attched for possible solution. Kindly review the patch and provide your feedback.
Thanks. commit d690fbd37dccbc7970529ad41bcf633282c09c78 Author: Satya Prakash Gupta <sp.gupta@samsung.com> Date: Thu Aug 31 13:24:15 2017 +0530 sdp: fix Memory leak in error case https://bugzilla.gnome.org/show_bug.cgi?id=787059