[libpeas] Silence NULL deref warning
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Silence NULL deref warning
- Date: Fri, 10 Feb 2012 18:52:13 +0000 (UTC)
commit 381a25273cb6b847689f4b69ce9df6909e407ebb
Author: Garrett Regier <garrettregier gmail com>
Date: Sun Dec 11 08:35:33 2011 -0800
Silence NULL deref warning
libpeas/peas-extension.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libpeas/peas-extension.c b/libpeas/peas-extension.c
index a1c9817..7c604f2 100644
--- a/libpeas/peas-extension.c
+++ b/libpeas/peas-extension.c
@@ -74,7 +74,7 @@ get_method_info (PeasExtension *exten,
{
guint i;
GType *interfaces;
- GICallableInfo *method_info;
+ GICallableInfo *method_info = NULL;
gboolean must_free_interfaces = FALSE;
if (PEAS_IS_EXTENSION_WRAPPER (exten))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]