From 6ebdee268ff245d140c82785d1377c61ba24dd88 Mon Sep 17 00:00:00 2001 From: xboi209 Date: Wed, 26 Aug 2015 00:56:30 -0700 Subject: [PATCH] Use xfree() instead of free() in anongame_infos_DESC_destroy() --- src/bnetd/anongame_infos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bnetd/anongame_infos.cpp b/src/bnetd/anongame_infos.cpp index 8c920b5..3e0e92b 100644 --- a/src/bnetd/anongame_infos.cpp +++ b/src/bnetd/anongame_infos.cpp @@ -127,7 +127,7 @@ namespace pvpgn for (i = 0; i < anongame_infos_DESC_count; i++) { if ((descs[i])) - free((void *)descs[i]); + xfree((void *)descs[i]); } xfree((void *)descs); }