|
From: | Jon Kinsey |
Subject: | Re: [Bug-gnubg] Building gnubg on Windows |
Date: | Thu, 29 Jan 2004 15:32:12 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
Petr Kadlec wrote: [snip]
1. When I click Hint/OK, the debug version fails on assert in free(), called from GTK (via gtk_destroy_widget called on pwHint). Is this my fault, or a problem in the gnubg? (I never worked with GTK, so I do not want to hunt that.)
This was caused by a mismatched g_strdup_printf() and free() - instead of g_free().
I've found a few mismatched allocation/deallocation in the code with g_malloc/g_free and malloc/free, especially where the free function is called by a gtk callback.
Jon
[Prev in Thread] | Current Thread | [Next in Thread] |