From 7b1d8f9970c729f4d97648e004f6f84c9f9975eb Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Mon, 21 Aug 2017 11:51:55 +0200 Subject: [PATCH] Demand use of I_Realloc() instead of realloc() in the HACKING guide --- HACKING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HACKING.md b/HACKING.md index 0356d2e6..b1d253cb 100644 --- a/HACKING.md +++ b/HACKING.md @@ -139,6 +139,7 @@ Unsafe function | Safer alternative `strcat()` | `M_StringConcat()` `strncat()` | `M_StringConcat()` `strdup()` | `M_StringDuplicate()` +`realloc()` | `I_Realloc()` Lots of the code includes calls to DEH_String() to simulate string replacement by the Dehacked tool. Be careful when using Dehacked