summaryrefslogtreecommitdiff
path: root/vapigen/valavapigen.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-01-10 14:01:30 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-01-10 14:01:30 +0000
commit09b7c627d3a58f8c244865f56b4a8cfb77ad2115 (patch)
treeecb7a5fcce3435d29043763baafed71bb8f7e7ae /vapigen/valavapigen.vala
parent606bf12558c76dfe61816a0b21929b5e7a83bf8d (diff)
downloadvala-09b7c627d3a58f8c244865f56b4a8cfb77ad2115.tar.gz
fix memory management of out parameters, fixes bug 501838
2008-01-10 Juerg Billeter <j@bitron.ch> * gobject/valaccodegeneratorinvocationexpression.vala, gobject/valaccodegeneratormethod.vala, compiler/valacompiler.vala, vapi/glib-2.0.vapi, vapigen/valavapigen.vala: fix memory management of out parameters, fixes bug 501838 svn path=/trunk/; revision=826
Diffstat (limited to 'vapigen/valavapigen.vala')
-rw-r--r--vapigen/valavapigen.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vapigen/valavapigen.vala b/vapigen/valavapigen.vala
index 3f721e28e..c1fc55a4b 100644
--- a/vapigen/valavapigen.vala
+++ b/vapigen/valavapigen.vala
@@ -1,6 +1,6 @@
/* valavapigen.vala
*
- * Copyright (C) 2006-2007 Jürg Billeter
+ * Copyright (C) 2006-2008 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
@@ -200,7 +200,7 @@ class Vala.VAPIGen : Object {
var opt_context = new OptionContext ("- Vala API Generator");
opt_context.set_help_enabled (true);
opt_context.add_main_entries (options, null);
- opt_context.parse (out args);
+ opt_context.parse (ref args);
} catch (OptionError e) {
stdout.printf ("%s\n", e.message);
stdout.printf ("Run '%s --help' to see a full list of available command line options.\n", args[0]);