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 581321 - typefind element leaks force-caps property
typefind element leaks force-caps property
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal normal
: 0.10.24
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-04 15:14 UTC by Arnout Vandecappelle
Modified: 2009-05-05 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Typefind element must unref its force-caps property. (927 bytes, patch)
2009-05-04 15:18 UTC, Arnout Vandecappelle
committed Details | Review

Description Arnout Vandecappelle 2009-05-04 15:14:39 UTC
The typefind element leaks its force-caps property.

Patch follows.
Comment 1 Arnout Vandecappelle 2009-05-04 15:18:51 UTC
Created attachment 133925 [details] [review]
Typefind element must unref its force-caps property.
Comment 2 Wim Taymans 2009-05-05 15:38:50 UTC
the patch is not quite right, it seems to unref right after setting it (in the set method). I'll free it in the finalize instead.
Comment 3 Wim Taymans 2009-05-05 15:43:18 UTC
Will push after freeze.

commit aa1f2c8201575e17d24319427dc5c7dc1012d348
Author: Arnout Vandecappelle <arnout@mind.be>
Date:   Tue May 5 17:41:24 2009 +0200

    typefind: don't leak the force-caps property
    
    Fixes #581321