Re: [Vala] Custom array free functions



On Tue, Apr 26, 2011 at 11:49:56AM +0200, Maciej Marcin Piechotka wrote:
IMHO it doesn't matter that code does not crash. Consider such code in
90's:

If you want to shoot yourself by ignoring that XFree() is equivalent to
free() feel free to:
1) Copy the x11.vapi on your own
2) Use pointers instead of arrays
3) Do the memory management manually by calling XFree

-- 
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]