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 734359 - tests: Add missing unrefs of objects after use
tests: Add missing unrefs of objects after use
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal minor
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-06 13:09 UTC by Sebastian Rasmussen
Modified: 2014-08-06 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch adding omitted unrefs. (5.40 KB, patch)
2014-08-06 13:10 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2014-08-06 13:09:55 UTC
I looked for accidentally omitted unrefs after using the objects returned by gst_bin_get_by_name() and gst_pipeline_get_use(). I found a bunch in these tests and examples. The attached patch is intended to fix this.
Comment 1 Sebastian Rasmussen 2014-08-06 13:10:53 UTC
Created attachment 282698 [details] [review]
Proposed patch adding omitted unrefs.
Comment 2 Sebastian Dröge (slomo) 2014-08-06 13:19:22 UTC
commit 9995054e80a1c446a6b3bf909dfb226422191e81
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Wed Aug 6 13:41:46 2014 +0200

    tests: Add missing unrefs of objects after use
    
    Unreffing the objects returned by gst_bin_get_by_name() and
    gst_pipeline_get_use() were missing in several tests, so add these.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734359