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 744219 - camerabin examples: Memory leak in camerabin examples code
camerabin examples: Memory leak in camerabin examples code
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.4.1
Other All
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-10 07:58 UTC by kevin
Modified: 2015-02-10 19:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix memory leak in camerabin examples. (1.91 KB, patch)
2015-02-10 08:04 UTC, kevin
committed Details | Review
fix memory leak in camerabin examples. (4.21 KB, patch)
2015-02-10 08:04 UTC, kevin
committed Details | Review

Description kevin 2015-02-10 07:58:03 UTC
Camerabin example code has memory leak. Please check attached patch.
Comment 1 kevin 2015-02-10 08:04:13 UTC
Created attachment 296440 [details] [review]
fix memory leak in camerabin examples.
Comment 2 kevin 2015-02-10 08:04:37 UTC
Created attachment 296441 [details] [review]
fix memory leak in camerabin examples.
Comment 3 Thiago Sousa Santos 2015-02-10 19:11:05 UTC
Patches merged, thanks.

commit 629b3508061afe3bc89e09a4b89e3a24d5c38a49
Author: Song Bing <b06498@freescale.com>
Date:   Tue Feb 10 15:55:50 2015 +0800

    camerabin examples: memory leak in camerabin examples code
    
    should unref caps after set to profile. profile will ref it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744219

commit 2d0e6d96c6a215c27b3ec8a80561b74fe380908a
Author: Song Bing <b06498@freescale.com>
Date:   Tue Feb 10 15:53:21 2015 +0800

    camerabin examples: memory leak in camerabin examples code
    
    should unref after set object. The object will be refed when set
    property.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744219