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 734522 - videoaggregator: Unref allowed caps after usage
videoaggregator: Unref allowed caps after usage
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 1.4.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-09 11:43 UTC by Sebastian Rasmussen
Modified: 2014-08-11 06:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (936 bytes, patch)
2014-08-09 11:43 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2014-08-09 11:43:06 UTC
gst_pad_get_allowed_caps() returns a reference to a caps object that must be unreferenced in error cases. The attached patch aims to fix this.
Comment 1 Sebastian Rasmussen 2014-08-09 11:43:42 UTC
Created attachment 282980 [details] [review]
Proposed patch.
Comment 2 Tim-Philipp Müller 2014-08-10 11:27:26 UTC
commit ee09d332bdb7bb3ed18589492d9838a8af9000ea
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Sat Aug 9 11:17:44 2014 +0200

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