[folks] core: Hook up the FolksSmallSet.dispose vfunc
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] core: Hook up the FolksSmallSet.dispose vfunc
- Date: Thu, 22 Jan 2015 16:40:06 +0000 (UTC)
commit d040ce6cbad9bad8c25f052254f3df6d9535a9a3
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 d5cc40e..b5a1968 100644
--- a/folks/small-set.c
+++ b/folks/small-set.c
@@ -631,6 +631,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]