[libpeas] Plug a memory leak in peas_extension_call_valist()
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Plug a memory leak in peas_extension_call_valist()
- Date: Wed, 15 Dec 2010 19:41:04 +0000 (UTC)
commit 9359aa0615150f59ad13d582fa91ffa8003c0b4a
Author: Garrett Regier <alias301 gmail com>
Date: Wed Dec 15 00:25:57 2010 -0800
Plug a memory leak in peas_extension_call_valist()
A GI object was not unreffed correctly.
libpeas/peas-extension.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libpeas/peas-extension.c b/libpeas/peas-extension.c
index 63accb1..68558d1 100644
--- a/libpeas/peas-extension.c
+++ b/libpeas/peas-extension.c
@@ -240,6 +240,8 @@ peas_extension_call_valist (PeasExtension *exten,
g_base_info_unref ((GIBaseInfo *) retval_info);
}
+ g_base_info_unref ((GIBaseInfo *) callable_info);
+
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]