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 642754 - tiny leak in wrap_g_constant_info_get_value
tiny leak in wrap_g_constant_info_get_value
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-19 14:37 UTC by Paolo Borelli
Modified: 2012-04-22 14:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (749 bytes, patch)
2012-04-21 10:40 UTC, Paolo Borelli
accepted-commit_now Details | Review

Description Paolo Borelli 2011-02-19 14:37:03 UTC
==19306== 9 bytes in 1 blocks are definitely lost in loss record 677 of 15,667
==19306==    at 0x4A05E46: malloc (vg_replace_malloc.c:195)
==19306==    by 0x80CDBE2: g_malloc (gmem.c:164)
==19306==    by 0x80E5EE7: g_memdup (gstrfuncs.c:130)
==19306==    by 0x74CECBE: g_constant_info_get_value (giconstantinfo.c:98)
==19306==    by 0x13E53CE4: _wrap_g_constant_info_get_value (pygi-info.c:1093)
Comment 1 Paolo Borelli 2012-04-21 10:40:30 UTC
Created attachment 212491 [details] [review]
patch

quick patch for this old bug I filed... I run a quick make check and it passes, but I have not tested it thoroughly
Comment 2 Martin Pitt 2012-04-22 07:44:49 UTC
Comment on attachment 212491 [details] [review]
patch

This looks straightforward, and matches the docs. Please push.
Comment 3 Paolo Borelli 2012-04-22 14:47:28 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.