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 672294 - facedetect: fix structure leak
facedetect: fix structure leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.24
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-17 14:04 UTC by Nicola
Modified: 2012-03-18 00:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix leak (793 bytes, patch)
2012-03-17 14:04 UTC, Nicola
committed Details | Review

Description Nicola 2012-03-17 14:04:11 UTC
Created attachment 209999 [details] [review]
Fix leak

attached a patch that fix a memory leak, please review
Comment 1 Tim-Philipp Müller 2012-03-18 00:54:05 UTC
Pushed something similar that fixes the leak but also avoids the unnecessary structure copy here:

 commit 362727b9f4970233040fe1e72282db26bc0d91d6
 Author: Nicola Murino <nicola.murino@gmail.com>
 Date:   Sun Mar 18 00:51:32 2012 +0000

    facedetect: fix structure leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672294