]> Nishi Git Mirror - gwion.git/commitdiff
:art: Improve free_func_def
authorfennecdjay <astor.jeremie@wanadoo.fr>
Mon, 7 Oct 2019 22:36:19 +0000 (00:36 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Mon, 7 Oct 2019 22:36:19 +0000 (00:36 +0200)
ast
src/lib/import.c

diff --git a/ast b/ast
index 52b685d2b39fa1cdee9220d9a2f2eff18bb82424..a09aa611aef29d2445f0b9bb769514d58348787a 160000 (submodule)
--- a/ast
+++ b/ast
@@ -1 +1 @@
-Subproject commit 52b685d2b39fa1cdee9220d9a2f2eff18bb82424
+Subproject commit a09aa611aef29d2445f0b9bb769514d58348787a
index f986de7ce35f4209e5088764920f7217904ce33a..c8333c82f8e9f1d791bab3c257d3ed7ed06f3c0c 100644 (file)
@@ -486,6 +486,7 @@ ANN m_int gwi_func_end(const Gwi gwi, const ae_flag flag) {
     return GW_OK;
   }
   if(traverse_func_def(gwi->gwion->env, def) < 0) {
+    def->d.dl_func_ptr = NULL;
     free_func_def(gwi->gwion->mp, def);
     return GW_ERROR;
   }