summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-09-01 04:33:48 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-09-01 04:33:48 +0000
commit26246a2cd104f3548b32a6398d92154b28e08d23 (patch)
treeed0b3cf0dae6da2adc854d151fc728d9b33b4fb7 /src/extension/prefdialog.cpp
parent(bzr r3641) (diff)
downloadinkscape-26246a2cd104f3548b32a6398d92154b28e08d23.tar.gz
inkscape-26246a2cd104f3548b32a6398d92154b28e08d23.zip
r16403@tres: ted | 2007-08-29 09:10:45 -0700
Fixed a tricky segmentation fault. Multithreading is hard when you don't have threads :) (bzr r3642)
Diffstat (limited to 'src/extension/prefdialog.cpp')
-rw-r--r--src/extension/prefdialog.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/extension/prefdialog.cpp b/src/extension/prefdialog.cpp
index 62e6b9ff8..4676661b1 100644
--- a/src/extension/prefdialog.cpp
+++ b/src/extension/prefdialog.cpp
@@ -171,10 +171,7 @@ PrefDialog::pinned_toggle (void) {
_button_cancel->set_label(Gtk::Stock::CLOSE.id);
if (_exEnv != NULL) {
- _exEnv->shutdown();
- if (_createdExEnv) {
- delete _exEnv;
- }
+ _exEnv->shutdown(_createdExEnv);
_exEnv = NULL;
}
} else {