From d2c42029b98c665725768b891aa877eb3267664f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 24 May 2011 00:38:44 +0300 Subject: Add simple memory leak detector. Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it. --- src/net/tmwa/gui/guildtab.cpp | 2 ++ src/net/tmwa/gui/partytab.cpp | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/net/tmwa/gui') diff --git a/src/net/tmwa/gui/guildtab.cpp b/src/net/tmwa/gui/guildtab.cpp index 714f08b46..ce828b338 100644 --- a/src/net/tmwa/gui/guildtab.cpp +++ b/src/net/tmwa/gui/guildtab.cpp @@ -39,6 +39,8 @@ #include "utils/gettext.h" #include "utils/stringutils.h" +#include "debug.h" + namespace TmwAthena { diff --git a/src/net/tmwa/gui/partytab.cpp b/src/net/tmwa/gui/partytab.cpp index 84d846c7f..fc8ec138d 100644 --- a/src/net/tmwa/gui/partytab.cpp +++ b/src/net/tmwa/gui/partytab.cpp @@ -41,6 +41,8 @@ #include "net/chathandler.h" +#include "debug.h" + namespace TmwAthena { -- cgit v1.2.3-70-g09d2