To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites.

Fri, 28 Nov 2008 18:36:04 +0100

author
Tobias Markmann <tm@ayena.de>
date
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 file | annotate | diff | comparison | revisions
--- 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"

mercurial