[gstreamer-bugs] [Bug 611428] New: [gdiscreencapsrc] leaks memory

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Feb 28 13:24:17 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=611428
  GStreamer | gst-plugins-bad | git

           Summary: [gdiscreencapsrc] leaks memory
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


See

http://news.gmane.org/find-root.php?message_id=%3cebced3c11002240837p7ad792afhf0d8f4a4e0caa962%40mail.gmail.com%3e

including patch (by Francis Rammeloo <francis.rammeloo <at> gmail.com>)

--- Main/GStreamer/Source/gst-plugins-bad/sys/winscreencap/gstgdiscreencapsrc.c
   (revision
442)
+++ Main/GStreamer/Source/gst-plugins-bad/sys/winscreencap/gstgdiscreencapsrc.c
   (working
copy)
@@ -552,6 +552,9 @@
           ci.ptScreenPos.x - src->src_rect.left - ii.xHotspot,
           ci.ptScreenPos.y - src->src_rect.top - ii.yHotspot, ci.hCursor, 0,
0,
           0, NULL, DI_DEFAULTSIZE | DI_NORMAL | DI_COMPAT);
+
+      DeleteObject (ii.hbmColor);
+      DeleteObject (ii.hbmMask);
     }
   }

-- 
Configure bugmail: https://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