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 427836 - don't leak ior
don't leak ior
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: atkbridge
unspecified
Other Linux
: Normal major
: ---
Assigned To: Li Yuan
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2007-04-09 11:42 UTC by Matthias Clasen
Modified: 2007-04-12 08:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ior-leak.patch (589 bytes, patch)
2007-04-09 11:43 UTC, Matthias Clasen
none Details | Review
fix leak and unify the code style (5.02 KB, patch)
2007-04-12 07:54 UTC, Li Yuan
committed Details | Review

Description Matthias Clasen 2007-04-09 11:42:55 UTC
spi_atk_bridge_get_registry leaks the ior string that it gets from an X window property. I'll attach a patch. You may want to change spi_atk_bridge_get_registry_ior to return g-allocated memory instead, to confine
the Xlib api use to that function.
Comment 1 Matthias Clasen 2007-04-09 11:43:28 UTC
Created attachment 86045 [details] [review]
ior-leak.patch
Comment 2 Li Yuan 2007-04-12 07:53:17 UTC
Thanks for the patch. I'd like to commit it and unify the code style at the same time.
Comment 3 Li Yuan 2007-04-12 07:54:10 UTC
Created attachment 86223 [details] [review]
fix leak and unify the code style