[Bug 771488] New: find_media factory leak
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Sep 15 13:27:21 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=771488
Bug ID: 771488
Summary: find_media factory leak
Classification: Platform
Product: GStreamer
Version: 1.8.2
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-rtsp-server
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vasilchukkseniia at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 335636
--> https://bugzilla.gnome.org/attachment.cgi?id=335636&action=edit
Fix memory leak in find_media
I found a memory leak in the case of authorization failed in "find_media"
function, so I made the patch to fix it.
To be sure that leak exists and my patch is useful I did small research:
I took auth-server from examples with small changes in it (will be in
attachment) and launched it with valgrind memcheck tool, at the same time I was
making many connections to server with wrong user/password pair. So valgrind
reported about the pretty big memory leak.
After that I recompile the server with my patch and did the same. I found that
there is no leak anymore.
Both valgrind reports will be in attachment.
The patch is in attachment as well, please watch it.
--
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