[vala] Fix double free with owned named arguments
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Fix double free with owned named arguments
- Date: Sat, 20 Mar 2010 17:34:11 +0000 (UTC)
commit 526f97dab283007ab16ca7fdf0561ef3b320a701
Author: Jürg Billeter <j bitron ch>
Date: Sat Mar 20 18:33:05 2010 +0100
Fix double free with owned named arguments
Fixes bug 601930.
vala/valanamedargument.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vala/valanamedargument.vala b/vala/valanamedargument.vala
index 8fe98d9..f758fbb 100644
--- a/vala/valanamedargument.vala
+++ b/vala/valanamedargument.vala
@@ -1,6 +1,6 @@
/* valanamedargument.vala
*
- * Copyright (C) 2009 Jürg Billeter
+ * Copyright (C) 2009-2010 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -75,6 +75,7 @@ public class Vala.NamedArgument : Expression {
return false;
}
+ inner.target_type = inner.value_type;
value_type = inner.value_type;
return !error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]