[gimp] app: don't leak a GFileInfo in gimp_data_set_file()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't leak a GFileInfo in gimp_data_set_file()
- Date: Sat, 26 Jul 2014 14:53:20 +0000 (UTC)
commit b328bd308705cfc2dfc540876d7d1f27ea1795f8
Author: Michael Natterer <mitch gimp org>
Date: Sat Jul 26 16:52:56 2014 +0200
app: don't leak a GFileInfo in gimp_data_set_file()
app/core/gimpdata.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpdata.c b/app/core/gimpdata.c
index 3e7c093..69171cf 100644
--- a/app/core/gimpdata.c
+++ b/app/core/gimpdata.c
@@ -818,6 +818,8 @@ gimp_data_set_file (GimpData *data,
private->writable = writable ? TRUE : FALSE;
private->deletable = deletable ? TRUE : FALSE;
}
+
+ g_object_unref (info);
}
g_object_unref (parent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]