After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 734474 - videomixer: Unref allowed caps after usage
videomixer: Unref allowed caps after usage
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal normal
: 1.4.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-08 10:37 UTC by Sebastian Rasmussen
Modified: 2014-08-08 19:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch fixing caps leak. (986 bytes, patch)
2014-08-08 10:38 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2014-08-08 10:37:53 UTC
gst_pad_get_allowed_caps() returns a reference caps object that must be unreffed after usage. The attached patch aims to fix this.
Comment 1 Sebastian Rasmussen 2014-08-08 10:38:46 UTC
Created attachment 282894 [details] [review]
Proposed patch fixing caps leak.
Comment 2 Thiago Sousa Santos 2014-08-08 19:19:43 UTC
master:
commit 1fa61632fe31de929b0ac3d6088c998ad408eb90
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Fri Aug 8 12:36:01 2014 +0200

    videomixer: Unref allowed caps after usage
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734474


1.4:
commit 113be6ac80b891b6d98cb820e1a2a724c16b3ebb
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Fri Aug 8 12:36:01 2014 +0200

    videomixer: Unref allowed caps after usage
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734474