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 734475 - imagefreeze: Unref pad template caps after usage
imagefreeze: Unref pad template 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:42 UTC by Sebastian Rasmussen
Modified: 2014-08-08 19:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


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

Description Sebastian Rasmussen 2014-08-08 10:42:04 UTC
gst_pad_get_pad_template_caps() returns a reference to a caps object that needs to be unreffed after usage. This patch fixes the issue.
Comment 1 Sebastian Rasmussen 2014-08-08 10:42:57 UTC
Created attachment 282895 [details] [review]
Proposed patch fixing template caps leak.
Comment 2 Thiago Sousa Santos 2014-08-08 19:20:39 UTC
master:

commit c85ae43a6e0545858e25541075d662ec847476d3
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Fri Aug 8 12:40:49 2014 +0200

    imagefreeze: Unref pad template caps after usage
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734475

1.4:
commit 4f62408a3cf1f23b3c4999a53863cda3e15f5628
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Fri Aug 8 12:40:49 2014 +0200

    imagefreeze: Unref pad template caps after usage
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734475