[libpeas] Fix memory leak when overriding properties
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Fix memory leak when overriding properties
- Date: Wed, 23 Mar 2011 21:41:39 +0000 (UTC)
commit b9184f8b95eaec0d03fac4289db28ed47a3c3455
Author: Garrett Regier <alias301 gmail com>
Date: Mon Mar 7 22:52:13 2011 -0800
Fix memory leak when overriding properties
libpeas/peas-extension-subclasses.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libpeas/peas-extension-subclasses.c b/libpeas/peas-extension-subclasses.c
index 99ff22e..a97085d 100644
--- a/libpeas/peas-extension-subclasses.c
+++ b/libpeas/peas-extension-subclasses.c
@@ -298,6 +298,8 @@ extension_subclass_init (GObjectClass *klass,
}
}
+ g_free (properties);
+
g_debug ("Initialized class '%s'", G_OBJECT_CLASS_NAME (klass));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]