[vala] Genie: Fix ownership of inline allocated arrays



commit 3c7b1049cca544867ceef7f21bac1d955414fa43
Author: Jamie McCracken <jamie mccrack gmail com>
Date:   Mon Sep 27 23:46:18 2010 -0400

    Genie: Fix ownership of inline allocated arrays

 vala/valagenieparser.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagenieparser.vala b/vala/valagenieparser.vala
index f04befb..cf250ee 100644
--- a/vala/valagenieparser.vala
+++ b/vala/valagenieparser.vala
@@ -609,7 +609,7 @@ public class Vala.Genie.Parser : CodeVisitor {
 				array_type.fixed_length = true;
 				array_type.length = array_length;
 			}
-
+			array_type.value_owned = type.value_owned;
 			return array_type;
 		}
 		return type;



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