diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2011-01-22 12:26:03 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2011-02-13 15:47:10 +0100 |
commit | 0e28f620ccd0c7c4160e8bc2ad7a1b43237578f2 (patch) | |
tree | e3e397290fc6e14bddef3c8c2e203db07d7d0100 /codegen/valaccodecontrolflowmodule.vala | |
parent | 54f786ce54e2ced7893bbf1caea94bf4dbdf5733 (diff) | |
download | vala-0e28f620ccd0c7c4160e8bc2ad7a1b43237578f2.tar.gz |
codegen: Replace get_unref_expression_ with destroy_variable
Diffstat (limited to 'codegen/valaccodecontrolflowmodule.vala')
-rw-r--r-- | codegen/valaccodecontrolflowmodule.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/valaccodecontrolflowmodule.vala b/codegen/valaccodecontrolflowmodule.vala index 6ad5f014d..86023721d 100644 --- a/codegen/valaccodecontrolflowmodule.vala +++ b/codegen/valaccodecontrolflowmodule.vala @@ -380,7 +380,7 @@ public abstract class Vala.CCodeControlFlowModule : CCodeMethodModule { foreach (LocalVariable local in stmt.get_local_variables ()) { if (requires_destroy (local.variable_type)) { - ccode.add_expression (get_unref_expression_ (local)); + ccode.add_expression (destroy_variable (local)); } } |