basetransform: don't unref trans until the function is done using it
authorHavard Graff <havard.graff@tandberg.com>
Thu, 14 Apr 2011 08:15:26 +0000 (10:15 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 19 Apr 2011 14:09:14 +0000 (15:09 +0100)
commit38dcd41b9717396142848969960ff9edc723accc
tree6562829aacf78fbc7a5a534de4632c508b51f5a0
parent60bbb9c24f5b09ae4f6546b16ec64cd3484b2255
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
libs/gst/base/gstbasetransform.c