]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
codegen: Make sure to call a corresponding pop_function()
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 28 Apr 2019 14:41:44 +0000 (16:41 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 28 Apr 2019 15:54:28 +0000 (17:54 +0200)
codegen/valaccodebasemodule.vala

index 59993c80f0e276b9f3403215f45b8425c29352d9..9d6320ccfd74d1109443135aeef5d3da290f6236 100644 (file)
@@ -1913,6 +1913,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);
                }