aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/encodings.c
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2008-11-28 18:36:04 +0100
committerTobias Markmann <tm@ayena.de>2008-11-28 18:36:04 +0100
commit0df2b3f0c51f75dd9106671362bdfae7a8a44afd (patch)
tree4dfb304958c6478ec5b95aeeacc3504df1485133 /util-src/encodings.c
parent8e2b0deb94ea52b49404d5b9277061101bd03cff (diff)
downloadprosody-0df2b3f0c51f75dd9106671362bdfae7a8a44afd.tar.gz
prosody-0df2b3f0c51f75dd9106671362bdfae7a8a44afd.zip
To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites.
Diffstat (limited to 'util-src/encodings.c')
-rw-r--r--util-src/encodings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c
index ac24ebcf..13706a89 100644
--- a/util-src/encodings.c
+++ b/util-src/encodings.c
@@ -7,7 +7,7 @@
#define _CRT_SECURE_NO_DEPRECATE
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "lua.h"
#include "lauxlib.h"