]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Genie: Fix ownership of inline allocated arrays
authorJamie McCracken <jamie.mccrack@gmail.com>
Tue, 28 Sep 2010 03:46:18 +0000 (23:46 -0400)
committerJamie McCracken <jamie.mccrack@gmail.com>
Tue, 28 Sep 2010 03:46:18 +0000 (23:46 -0400)
vala/valagenieparser.vala

index f04befbd480c595cb7498052788cc8bd2fc0043a..cf250ee9345637cc301b7daee6c13ea8980e0ef0 100644 (file)
@@ -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;