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 734473 - rtpmux: Unref pad template caps after usage
rtpmux: 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:32 UTC by Sebastian Rasmussen
Modified: 2014-08-08 19:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch fixing reference leak. (1.62 KB, patch)
2014-08-08 10:35 UTC, Sebastian Rasmussen
none Details | Review
Proposed patch fixing reference leak. (1.57 KB, patch)
2014-08-08 13:29 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2014-08-08 10:32:04 UTC
I was looking for accidentally omitted gst_unref_caps() after calling gst_pad_get_pad_template_caps() and found a few in rtpmux. The attached patch is meant to fix those issues.
Comment 1 Sebastian Rasmussen 2014-08-08 10:35:01 UTC
Created attachment 282893 [details] [review]
Proposed patch fixing reference leak.
Comment 2 Sebastian Rasmussen 2014-08-08 13:29:52 UTC
Created attachment 282907 [details] [review]
Proposed patch fixing reference leak.
Comment 3 Thiago Sousa Santos 2014-08-08 19:22:41 UTC
master:
commit 1a35bf964748e4efb54bf9a1afd212f203051f4d
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Fri Aug 8 12:29:52 2014 +0200

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

1.4:
commit 9d47e55e2c9cfe03634bb1ae71cd9abb8ff80c4e
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Fri Aug 8 12:29:52 2014 +0200

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