[g-a-devel]the maybe leak in libspi/impl_getSelection



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]