From c54a5801f39e05b684c2c526f9079da4181203df Mon Sep 17 00:00:00 2001
From: Tilman Sauerbeck <tilman@code-monkey.de>
Date: Sun, 22 Apr 2007 17:14:12 +0200
Subject: [PATCH] Fixed a memleak in the file dialog.

---
 src/rakt-window.c | 1 +
 1 file changed, 1 insertion(+)

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);
-- 
2.30.2