From: Tilman Sauerbeck Date: Sun, 22 Apr 2007 15:14:12 +0000 (+0200) Subject: Fixed a memleak in the file dialog. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=c54a5801f39e05b684c2c526f9079da4181203df;p=raktpdf.git Fixed a memleak in the file dialog. --- diff --git a/src/rakt-window.c b/src/rakt-window.c index 1ada22c..dbd3c78 100644 --- 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);