summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/main.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/graphics/drawpad/main.cpp b/noncore/graphics/drawpad/main.cpp
index b362962..cb02301 100644
--- a/noncore/graphics/drawpad/main.cpp
+++ b/noncore/graphics/drawpad/main.cpp
@@ -21,6 +21,8 @@ int main(int argc, char **argv)
21 21
22 DrawPad mw; 22 DrawPad *mw = new DrawPad();;
23 a.showMainWidget(&mw); 23 a.showMainWidget(mw );
24 24
25
25 return a.exec(); 26 return a.exec();
27 delete mw;
26} 28}