Commit 03e52e6b authored by Boudewijn Rempt's avatar Boudewijn Rempt

Don't need to check whether a pointer isn't 0 before deleting it

svn path=/trunk/koffice/; revision=847073
parent 3a89239b
......@@ -35,8 +35,7 @@ public:
Private() : data(0), colorSpace(0) {}
~Private() {
if ( data )
delete [] data;
delete [] data;
}
quint8 * data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment