projects
/
raktpdf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
308a29e
)
Fixed a memleak in the file dialog.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 22 Apr 2007 15:14:12 +0000
(17:14 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 22 Apr 2007 15:14:12 +0000
(17:14 +0200)
src/rakt-window.c
patch
|
blob
|
history
diff --git
a/src/rakt-window.c
b/src/rakt-window.c
index 1ada22c1534c51fbe0c9b31c1079253625c70ae6..dbd3c78f8396e3315717edae16364b27a27eca18 100644
(file)
--- a/
src/rakt-window.c
+++ b/
src/rakt-window.c
@@
-312,6
+312,7
@@
on_action_open (GtkAction *action, RaktWindow *window)
file = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
open_document (window, file);
+ g_free (file);
}
gtk_widget_destroy (dialog);