Re: bug in testgtk.c in gtk+-1.1.2
- From: Tor Lillqvist <tml hemuli tte vtt fi>
- To: gimp-developer scam xcf berkeley edu, gtk-devel-list redhat com
- Subject: Re: bug in testgtk.c in gtk+-1.1.2
- Date: Tue, 6 Oct 1998 11:24:19 +0300 (EETDST)
> I think the bug is that the program tries to allocate memory with
> g_malloc() and to free it with free() rather than g_free(): when
> mem-check is enabled, they're not the same.
The same bug is present also in gimp/app/text_tool.c, where pointers
returned by text_get_field() (which uses g_malloc() or g_strdup()) are
freed with free().
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]