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 734546 - tests: Unref element after usage
tests: Unref element after usage
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other All
: Normal minor
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-09 12:34 UTC by Sebastian Rasmussen
Modified: 2014-08-09 13:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (863 bytes, patch)
2014-08-09 12:35 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2014-08-09 12:34:51 UTC
gst_bin_get_by_name_recurse_up() returns an element reference that must be unreffed after usage. This was accidentally omitted in one example, but the attached patch fixes this.
Comment 1 Sebastian Rasmussen 2014-08-09 12:35:29 UTC
Created attachment 283000 [details] [review]
Proposed patch.
Comment 2 Tim-Philipp Müller 2014-08-09 13:32:39 UTC
commit 486f30558a8418c5a22143083e2755a1c2375ff0
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Thu Jul 17 01:34:17 2014 +0200

    examples: unref element after usage
    
    gst_bin_get_by_name_recurse_up() returns an element
    reference that must be unreffed after usage.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734546