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 648215 - basetransform: unref in wrong place
basetransform: unref in wrong place
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal blocker
: 0.10.33
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-19 13:54 UTC by Håvard Graff (hgr)
Modified: 2011-04-19 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.02 KB, patch)
2011-04-19 13:54 UTC, Håvard Graff (hgr)
committed Details | Review

Description Håvard Graff (hgr) 2011-04-19 13:54:49 UTC
Created attachment 186287 [details] [review]
patch

Don´t unref until the end of function.
Comment 1 Tim-Philipp Müller 2011-04-19 14:12:53 UTC
Oops, thanks!

commit 38dcd41b9717396142848969960ff9edc723accc
Author: Havard Graff <havard.graff@tandberg.com>
Date:   Thu Apr 14 10:15:26 2011 +0200

    basetransform: don't unref trans until the function is done using it
    
    trans->priv->force_alloc = FALSE would crash if the ref held is the last
    
    https://bugzilla.gnome.org/show_bug.cgi?id=648215