gst/gstelementfactory.c: Unref the factory after it was used the last time, not before.
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 23 Apr 2008 14:54:20 +0000 (14:54 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 23 Apr 2008 14:54:20 +0000 (14:54 +0000)
commit763e6a7d89eea85318e710da31a9f45f84c81888
tree3328dc01c5524ab61e9bb71ed742f2a992c5724a
parent4b87b4077951772cd9d4ebaf94593dfcdd059816
gst/gstelementfactory.c: Unref the factory after it was used the last time, not before.

Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_factory_make):
Unref the factory after it was used the last time, not before.
* gst/gstindexfactory.c: (gst_index_factory_make):
Improve debugging a bit and don't leak a ref to the index factory with
each call.
ChangeLog
gst/gstelementfactory.c
gst/gstindexfactory.c