Changeset

473:22b0e654c4cf

To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites.
author Tobias Markmann <tm@ayena.de>
date Fri, 28 Nov 2008 18:36:04 +0100
parents 472:ee45599c0b5d
children 474:666e22848890
files util-src/encodings.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"