]> 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>
Tue, 6 Aug 2019 11:52:43 +0000 (13:52 +0200)
codegen/valaccodebasemodule.vala

index 589190e61e60b2207c839042a654a651e83847b6..de16d8fbb680d61f5c684db41b095c2d3d9ae47a 100644 (file)
@@ -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);
                }