GNOME Bugzilla – Bug 785388
Memory leak in dvdreadsrc.c
Last modified: 2017-07-25 08:49:42 UTC
Created attachment 356339 [details] [review] Patch file is attached. Hello All, There is memory leak in dvdreadsrc.c file Path : gst-plugins-ugly/ext/dvdread/dvdreadsrc.c Function: gst_dvd_read_src_goto_title Memory leak is detected at line : 562. t = g_strdup_printf ("subpicture-%d-stream", i); without using g_free(t) there is another g_strdup_printf. which leads to memory leak. ++patch is attched for possible solution. Kindly review the patch and provide your feedback.
commit 861cff5da13614f50636681d9039a731e279b695 (HEAD -> master) Author: Satya Prakash Gupta <sp.gupta@samsung.com> Date: Tue Jul 25 13:36:17 2017 +0530 dvdreadsrc: Fix string memory leak https://bugzilla.gnome.org/show_bug.cgi?id=785388