projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
991d42f
)
var-type-dialog: Fix memory leak.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 18 Aug 2012 19:24:21 +0000
(12:24 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 18 Aug 2012 19:28:55 +0000
(12:28 -0700)
src/ui/gui/var-type-dialog.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/var-type-dialog.c
b/src/ui/gui/var-type-dialog.c
index 7b663383912c91b4f78ff6caac99b05b2be265da..23ad0dce4b220235d53a4662a602183f14328018 100644
(file)
--- a/
src/ui/gui/var-type-dialog.c
+++ b/
src/ui/gui/var-type-dialog.c
@@
-211,6
+211,8
@@
psppire_var_type_dialog_run (GtkWindow *parent_window,
if (psppire_dialog_run (PSPPIRE_DIALOG (dialog)) == GTK_RESPONSE_OK)
*format = *psppire_var_type_dialog_get_format (dialog);
+
+ gtk_widget_destroy (GTK_WIDGET (dialog));
}