[gstreamer-bugs] [Bug 351502] New: g_value_set_string leaks

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Aug 15 10:05:34 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=351502
 GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: g_value_set_string leaks
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: pborelli at katamail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


paolo at murdock:~/cvs/gnome2/gst-plugins-base$ rgrep g_value_set_string.*g_strdup
. | grep -v binar
./sys/ximage/ximagesink.c:      g_value_set_string (value, g_strdup
(ximagesink->display_name));
./sys/xvimage/xvimagesink.c:      g_value_set_string (value, g_strdup
(xvimagesink->display_name));


paolo at murdock:~/cvs/gnome2/gst-plugins-bad$ rgrep g_value_set_string.*g_strdup
. | grep -v binar
./ext/libfame/gstlibfame.c:      g_value_set_string (value, g_strdup
(fameenc->pattern));
./sys/glsink/glimagesink.c:      g_value_set_string (value, g_strdup
(glimage_sink->display_name));


g_value_set_string dups the string itself, so the strdup should be dropped to
avoid leaking memory.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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