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 524806 - memory leak in impl_getBoundedRanges
memory leak in impl_getBoundedRanges
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: atkbridge
1.22.x
Other All
: Normal normal
: ---
Assigned To: Li Yuan
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2008-03-28 15:06 UTC by Mike Gorse
Modified: 2008-07-01 09:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Patch. (1.70 KB, patch)
2008-03-28 15:13 UTC, Mike Gorse
none Details | Review
patch to remove un-related changes. (682 bytes, patch)
2008-07-01 09:34 UTC, Li Yuan
committed Details | Review

Description Mike Gorse 2008-03-28 15:06:21 UTC
Please describe the problem:
impl_getBoundedRanges retrieves an AtkRangeList, which is dynamically allocated by atk, and generates a new structure to return based on it, but it does not free the AtkRangeList.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Mike Gorse 2008-03-28 15:13:45 UTC
Created attachment 108177 [details] [review]
Patch.
Comment 2 Li Yuan 2008-07-01 09:34:39 UTC
Created attachment 113766 [details] [review]
patch to remove un-related changes.
Comment 3 Li Yuan 2008-07-01 09:39:07 UTC
2008-07-01  Li Yuan  <li.yuan@sun.com>

        * libspi/text.c: (impl_getBoundedRanges):
        Bug #524806. Fix memory leak in impl_getBoundedRanges.
        Patch from Mike Gorse <mgorse@novell.com>.