[gimp] app: free the tag_ref_counts hash table in dispose()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: free the tag_ref_counts hash table in dispose()
- Date: Sat, 26 Jun 2010 21:28:52 +0000 (UTC)
commit 324fa432b62f2664674aa67d2ef23713f5fc3fff
Author: Michael Natterer <mitch gimp org>
Date: Sat Jun 26 18:25:44 2010 +0200
app: free the tag_ref_counts hash table in dispose()
app/core/gimpfilteredcontainer.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpfilteredcontainer.c b/app/core/gimpfilteredcontainer.c
index 5951479..32e6d29 100644
--- a/app/core/gimpfilteredcontainer.c
+++ b/app/core/gimpfilteredcontainer.c
@@ -178,6 +178,12 @@ gimp_filtered_container_dispose (GObject *object)
{
GimpFilteredContainer *filtered_container = GIMP_FILTERED_CONTAINER (object);
+ if (filtered_container->tag_ref_counts)
+ {
+ g_hash_table_unref (filtered_container->tag_ref_counts);
+ filtered_container->tag_ref_counts = NULL;
+ }
+
if (filtered_container->src_container)
{
g_signal_handlers_disconnect_by_func (filtered_container->src_container,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]