From c3003a763fb8a1ec24f0dc96cae407564763a0ac Mon Sep 17 00:00:00 2001 From: hikerstk Date: Thu, 13 Oct 2011 22:38:56 +0000 Subject: [PATCH] Added leak checking. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9977 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/addons/request.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/addons/request.hpp b/src/addons/request.hpp index 234caa91e..e41357bfd 100644 --- a/src/addons/request.hpp +++ b/src/addons/request.hpp @@ -20,6 +20,7 @@ #include +#include "utils/leak_check.hpp" #include "utils/synchronised.hpp" class Addon; @@ -67,6 +68,8 @@ private: * ready. */ Addon *m_icon_addon; public: + LEAK_CHECK() + Request(HttpCommands command, int priority, bool manage_memory=true); Request(HttpCommands command, int priority, bool manage_memory,