summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-14 23:20:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-14 23:20:17 +0300
commit53947c9d39440424dcf815ea5df130e833457437 (patch)
treed9c5014580d81a0d6d809c862fd633ad95d6af72 /src/main.cpp
parent0c0784ac13663c4e33be50fba8c5e4299bad0ead (diff)
downloadplus-53947c9d39440424dcf815ea5df130e833457437.tar.gz
plus-53947c9d39440424dcf815ea5df130e833457437.tar.bz2
plus-53947c9d39440424dcf815ea5df130e833457437.tar.xz
plus-53947c9d39440424dcf815ea5df130e833457437.zip
add rwops leak detection.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5141951ed..236847ad1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -34,6 +34,7 @@
#include "utils/mkdir.h"
#endif
#include "utils/paths.h"
+#include "utils/physfsrwops.h"
#include "utils/process.h"
#include "utils/physfstools.h"
#include "utils/xml.h"
@@ -309,6 +310,7 @@ int main(int argc, char *argv[])
}
delete client;
client = nullptr;
+ reportRWops();
return ret;
}