diff options
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r-- | src/commandhandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp index ece2ccb44..276cd741a 100644 --- a/src/commandhandler.cpp +++ b/src/commandhandler.cpp @@ -1157,6 +1157,12 @@ void CommandHandler::handleDump(const std::string &args, + toString(res->size())); } } +#elif defined ENABLE_MEM_DEBUG +void CommandHandler::handleDump(const std::string &args _UNUSED_, + ChatTab *tab _UNUSED_) +{ + check_leaks(); +} #else void CommandHandler::handleDump(const std::string &args _UNUSED_, ChatTab *tab _UNUSED_) |