about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Src/module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/module.c b/Src/module.c
index 69a43cc3c..9922f84df 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -1776,6 +1776,7 @@ add_automathfunc(char *nam, char *module)
 
     f->name = ztrdup(nam);
     f->module = ztrdup(module);
+    f->flags = 0;
 
     if (addmathfunc(f)) {
 	zsfree(f->name);