summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/styledialog.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-09-27 14:06:19 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-09-27 14:06:19 +0000
commit8e8a246b1b9e069b6185d575ecd45347d1a0cede (patch)
tree51ec674283c6b62134ceb40aeb2629b66c185a6c /src/ui/dialog/styledialog.cpp
parentfix crash with PNG/JPG command line argument (diff)
parentcppcheck: 2 memleaks + copypasta (diff)
downloadinkscape-8e8a246b1b9e069b6185d575ecd45347d1a0cede.tar.gz
inkscape-8e8a246b1b9e069b6185d575ecd45347d1a0cede.zip
Merge branch 'cppcheck_memory' of gitlab.com:serval2412/inkscape
Diffstat (limited to 'src/ui/dialog/styledialog.cpp')
-rw-r--r--src/ui/dialog/styledialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp
index 2984ae11a..15f713591 100644
--- a/src/ui/dialog/styledialog.cpp
+++ b/src/ui/dialog/styledialog.cpp
@@ -925,6 +925,7 @@ void StyleDialog::_addSelector()
result = textDialogPtr->run();
if (result != Gtk::RESPONSE_OK) { // Cancel, close dialog, etc.
textDialogPtr->hide();
+ delete textDialogPtr;
return;
}
/**