~ubuntu-branches/ubuntu/quantal/vala/quantal

« back to all changes in this revision

Viewing changes to codegen/valadbusservermodule.vala

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-03-17 09:35:15 UTC
  • mfrom: (1.5.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20110317093515-veyqriw9egujkws2
Tags: 0.11.7-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
252
252
                        if (requires_destroy (owned_type)) {
253
253
                                // keep local alive (symbol_reference is weak)
254
254
                                var local = new LocalVariable (owned_type, param.name);
255
 
                                var stmt = new CCodeExpressionStatement (destroy_variable (local));
 
255
                                var stmt = new CCodeExpressionStatement (destroy_local (local));
256
256
                                if (param.direction == ParameterDirection.IN) {
257
257
                                        in_postfragment.append (stmt);
258
258
                                } else {