Adrien Destugues b62f86bf45 Fixed double free when loading 24b image.
Yves, it is not needed to check if a pointer is NULL before freeing it, free(NULL) is okay and will not crash.
However, each time you free something, you should put it back to NULL :
-It makes sure the program will crash on next access to it (even if the memory chunk is reallocated)
-It makes it easier to debug things, a NULL pointer is freed data.

If you can't gt used to it, create a Free macro that does the NULLification for you...


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1259 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-01-16 17:48:14 +00:00
2010-01-13 19:40:58 +00:00
2009-12-16 10:26:45 +00:00
2009-07-31 10:20:35 +00:00
2009-11-10 20:08:11 +00:00
2009-11-15 19:24:04 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2010-01-16 16:31:03 +00:00
2009-11-10 20:08:11 +00:00
2009-11-29 21:39:02 +00:00
2009-11-15 19:24:04 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2010-01-16 16:31:03 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-29 21:43:31 +00:00
2009-11-10 20:08:11 +00:00
2009-11-15 19:40:37 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2010-01-16 16:31:03 +00:00
2009-11-10 20:08:11 +00:00
2008-11-29 00:49:06 +00:00
2009-05-14 13:49:36 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-15 19:24:04 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2009-11-10 20:08:11 +00:00
2008-11-29 00:49:06 +00:00
Description
Fork of grafX2: The ultimate 256 color painting program https://gitlab.com/GrafX2/grafX2
16 MiB
Languages
C 89.3%
Lua 6.9%
Makefile 1.6%
NSIS 1.1%
Objective-C 0.4%
Other 0.5%