To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites.
authorTobias Markmann <tm@ayena.de>
Fri, 28 Nov 2008 18:36:04 +0100
changeset 473 22b0e654c4cf
parent 472 ee45599c0b5d
child 474 666e22848890
To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites.
util-src/encodings.c
--- a/util-src/encodings.c	Fri Nov 28 18:32:54 2008 +0100
+++ b/util-src/encodings.c	Fri Nov 28 18:36:04 2008 +0100
@@ -7,7 +7,7 @@
 #define _CRT_SECURE_NO_DEPRECATE
 
 #include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
 
 #include "lua.h"
 #include "lauxlib.h"