[folks/folks-0-10] core: Hook up the FolksSmallSet.dispose vfunc
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks/folks-0-10] core: Hook up the FolksSmallSet.dispose vfunc
- Date: Thu, 22 Jan 2015 16:44:25 +0000 (UTC)
commit de6f937508c40b6bad5236bacc61f52e14e56b63
Author: Philip Withnall <philip withnall collabora co uk>
Date: Thu Jan 22 16:15:49 2015 +0000
core: Hook up the FolksSmallSet.dispose vfunc
It was accidentally not hooked up before, which was a potential memory
leak if read-only views are used.
folks/small-set.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/folks/small-set.c b/folks/small-set.c
index 93bc472..144ac48 100644
--- a/folks/small-set.c
+++ b/folks/small-set.c
@@ -634,6 +634,7 @@ folks_small_set_class_init (FolksSmallSetClass *cls)
GeeAbstractSetClass *as_class = GEE_ABSTRACT_SET_CLASS (cls);
GeeAbstractCollectionClass *ac_class = GEE_ABSTRACT_COLLECTION_CLASS (cls);
+ object_class->dispose = folks_small_set_dispose;
object_class->finalize = folks_small_set_finalize;
ac_class->contains = folks_small_set_contains;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]