[perl-Glib-Object-Introspection] Plug a leak for GArray return values



commit fb8418de8d432a82179dd14970728897690b7464
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Wed Jan 23 21:04:03 2013 +0100

    Plug a leak for GArray return values

 gperl-i11n-invoke-info.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gperl-i11n-invoke-info.c b/gperl-i11n-invoke-info.c
index 06b97b8..e565da4 100644
--- a/gperl-i11n-invoke-info.c
+++ b/gperl-i11n-invoke-info.c
@@ -167,6 +167,7 @@ prepare_c_invocation_info (GPerlI11nInvocationInfo *iinfo,
 				dwarn ("  pos %d is automatic (array length)\n", pos);
 				iinfo->is_automatic_arg[pos] = TRUE;
 			}
+			g_base_info_unref (arg_info);
 		}
 	}
 



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