[easytag] Fix memory leak when constructing load file dialog
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Fix memory leak when constructing load file dialog
- Date: Fri, 17 Oct 2014 19:25:47 +0000 (UTC)
commit 5dec634bec10b0b64ff09b8ce103aeb9f52fbd1d
Author: David King <amigadave amigadave com>
Date: Fri Oct 17 20:09:11 2014 +0100
Fix memory leak when constructing load file dialog
src/load_files_dialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/load_files_dialog.c b/src/load_files_dialog.c
index 7cf192d..0c3a2d6 100644
--- a/src/load_files_dialog.c
+++ b/src/load_files_dialog.c
@@ -1065,6 +1065,8 @@ create_load_files_dialog (EtLoadFilesDialog *self)
g_settings_bind (MainSettings, "load-filenames-run-scanner",
load_file_run_scanner, "active", G_SETTINGS_BIND_DEFAULT);
+ g_object_unref (builder);
+
/* To initialize load button sensitivity. */
g_signal_emit_by_name (G_OBJECT (priv->file_chooser), "file-set");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]