[vala/0.36] codegen: Make sure to call a corresponding pop_function()



commit fc60c2637f0b4db012e7e8adda76ba5d53e53c29
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Apr 28 16:41:44 2019 +0200

    codegen: Make sure to call a corresponding pop_function()

 codegen/valaccodebasemodule.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index 589190e61..de16d8fbb 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -1868,6 +1868,8 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
                                ccode.add_declaration ("GError*", new CCodeVariableDeclarator.zero 
("_inner_error%d_".printf (current_inner_error_id), new CCodeConstant ("NULL")));
                        }
 
+                       pop_function ();
+
                        cfile.add_function (function);
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]