[Marble-commits] KDE/kdeedu/marble/src/lib
Dennis Nienhüser
earthwings at gentoo.org
Sun Jan 9 12:34:13 CET 2011
SVN commit 1213159 by nienhueser:
Fix memory leak.
M +2 -1 PositionTracking.cpp
--- trunk/KDE/kdeedu/marble/src/lib/PositionTracking.cpp #1213158:1213159
@@ -201,8 +201,9 @@
QFile file( fileName );
file.open( QIODevice::ReadWrite );
- return writer.write(&file, document );
+ bool const result = writer.write( &file, document );
delete document;
+ return result;
}
return false;
}
More information about the Marble-commits
mailing list