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 552469 - Mem leak in cspi_init()
Mem leak in cspi_init()
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: cbindings
1.23.x
Other Linux
: Normal normal
: ---
Assigned To: Li Yuan
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2008-09-16 09:08 UTC by Gerd Kohlberger
Modified: 2008-09-28 05:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Free ior (402 bytes, patch)
2008-09-16 09:09 UTC, Gerd Kohlberger
committed Details | Review

Description Gerd Kohlberger 2008-09-16 09:08:22 UTC
The data return by cspi_get_registry_ior() isn't freed after use.

==18290== 629 bytes in 1 blocks are definitely lost in loss record 8,696 of 8,865
==18290==    at 0x4024D2E: malloc (vg_replace_malloc.c:207)
==18290==    by 0x4CB61CE: XGetWindowProperty (GetProp.c:82)
==18290==    by 0x48E6AE7: cspi_init (cspi-bonobo.c:133)
==18290==    by 0x48E324C: SPI_init (spi_main.c:382)
Comment 1 Gerd Kohlberger 2008-09-16 09:09:41 UTC
Created attachment 118817 [details] [review]
Free ior