~ubuntu-branches/ubuntu/wily/vala/wily

« back to all changes in this revision

Viewing changes to codegen/valagdbusservermodule.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:
389
389
                                if (requires_destroy (owned_type)) {
390
390
                                        // keep local alive (symbol_reference is weak)
391
391
                                        var local = new LocalVariable (owned_type, param.name);
392
 
                                        ccode.add_expression (destroy_variable (local));
 
392
                                        ccode.add_expression (destroy_local (local));
393
393
                                }
394
394
                        }
395
395
                }