[Bug 785336] New: Memory leak in appsink-src.c & appsink-src2.c
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jul 24 10:23:34 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785336
Bug ID: 785336
Summary: Memory leak in appsink-src.c & appsink-src2.c
Classification: Platform
Product: GStreamer
Version: 1.12.2
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: sp.gupta at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 356284
--> https://bugzilla.gnome.org/attachment.cgi?id=356284&action=edit
Patch file is attached.
File : gst-plugins-base/tests/examples/app/appsink-src2.c & appsink-src.c
Function main:
Possible Leak occurs as previously strdup is not fixed also memory leak occurs.
main (int argc, char *argv[])
if (!g_file_test (filename, G_FILE_TEST_EXISTS)) {
g_print ("File %s does not exist\n", filename);
return -1;
}
++patch is attched for possible solution.
Kindly review the patch and provide your feedback.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list