[g-a-devel]the maybe leak in libspi/impl_getSelection
- From: Bolian Yin <bolian yin sun com>
- To: accessibility mailing list <gnome-accessibility-devel gnome org>
- Subject: [g-a-devel]the maybe leak in libspi/impl_getSelection
- Date: Tue, 20 Aug 2002 18:37:17 +0800
hello,
I notice that in libspi/text.c : impl_getSelction, the return string
of "atk_text_get_selection" is not been used.
while in impl_getText (and many other impls), the return string is
copied and freed.
So I wonder, is this designed and the implementation of
"atk_text_get_selection" will take care of it? If so, it will be will
different from other impls that return a gchar*. Maybe there is a
memory leak here?
thanks,
Bolian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]