Re: [Vala] Custom array free functions



On Tue, Apr 26, 2011 at 12:54:13AM +0100, David Given wrote:
Unfortunately this means that when Vala's finished with the array it
will then try to free it with g_free(), which won't work (XFree() and
g_free() may use different heaps). Is there any way to tell Vala that it
should use a specific free function for destroying arrays?

Are you experiencing any crash? XFree() is just Xfree() which is just free().

-- 
http://www.debian.org - The Universal Operating System

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]