aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/FilePicker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index 144f2e1f2..3a51fc12b 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -371,6 +371,7 @@ NS_METHOD GFilePicker::SanityCheck (PRBool *retIsSane)
gtk_window_set_modal (GTK_WINDOW(errorDialog), TRUE);
gtk_dialog_run (GTK_DIALOG(errorDialog));
+ gtk_widget_destroy (errorDialog);
*retIsSane = PR_FALSE;
return NS_OK;
}