[vala] codegen: Fix freeing of owned parameters
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] codegen: Fix freeing of owned parameters
- Date: Tue, 22 Mar 2011 19:52:39 +0000 (UTC)
commit 6fb32d21b17127b626e702adaf9a0c698b99e73f
Author: Jürg Billeter <j bitron ch>
Date: Tue Mar 22 20:48:52 2011 +0100
codegen: Fix freeing of owned parameters
Fixes bug 645177.
codegen/valaccodebasemodule.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index 5a22f44..b23a08d 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -3274,7 +3274,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
}
}
- if (b.parent_node == stop_at) {
+ if (stop_at != null && b.parent_node == stop_at) {
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]