[perl-Glib-Object-Introspection] Plug a leak in the automatic arg handling



commit 313477999ba3d25c5097a5450685a895c641cda1
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Wed Aug 10 15:28:18 2011 +0200

    Plug a leak in the automatic arg handling

 GObjectIntrospection.xs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/GObjectIntrospection.xs b/GObjectIntrospection.xs
index ea57b8b..a10bd5a 100644
--- a/GObjectIntrospection.xs
+++ b/GObjectIntrospection.xs
@@ -2432,6 +2432,7 @@ _invoke (class, basename, namespace, method, ...)
 			/* handled later */
 			break;
 		}
+		g_base_info_unref ((GIBaseInfo *) arg_info);
 	}
 
 	if (iinfo.throws) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]