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 765904 - deviceproviderfactory: fix factory leak
deviceproviderfactory: fix factory leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 1.9.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-02 14:32 UTC by Guillaume Desmottes
Modified: 2016-05-03 07:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
deviceproviderfactory: fix factory leak (1.06 KB, patch)
2016-05-02 14:32 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2016-05-02 14:32:22 UTC
.
Comment 1 Guillaume Desmottes 2016-05-02 14:32:37 UTC
Created attachment 327153 [details] [review]
deviceproviderfactory: fix factory leak

The code path when early returning was leaking the extra reference on
the factory.
Comment 2 Sebastian Dröge (slomo) 2016-05-03 07:49:45 UTC
Attachment 327153 [details] pushed as 782bc97 - deviceproviderfactory: fix factory leak