[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble/src/lib/geodata/parser
From: Patrick Spendrin <ps_ml () gmx ! de>
Date: 2009-04-15 17:08:22
Message-ID: 1239815302.900806.17667.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 954335 by sengels:
revert to the original version & make it work again
M +8 -0 GeoDocument.cpp
--- trunk/KDE/kdeedu/marble/src/lib/geodata/parser/GeoDocument.cpp #954334:954335
@@ -39,6 +39,8 @@
if (s_leakProtector != 0) {
fprintf(stderr, "Found %li GeoNode object LEAKS!\n", s_leakProtector);
s_leakProtector = 0;
+ } else {
+ fprintf(stderr, "No GeoNode object leak!\n");
}
#endif
}
@@ -56,10 +58,16 @@
GeoNode::GeoNode()
{
+#if DUMP_GEONODE_LEAKS > 0
+ GeoDocument::s_leakProtector++;
+#endif
}
GeoNode::~GeoNode()
{
+#if DUMP_GEONODE_LEAKS > 0
+ --GeoDocument::s_leakProtector;
+#endif
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic