summaryrefslogtreecommitdiff
path: root/env/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/callback.c')
-rw-r--r--env/callback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/env/callback.c b/env/callback.c
index f0904cfdc5..4054b9ef58 100644
--- a/env/callback.c
+++ b/env/callback.c
@@ -55,6 +55,8 @@ void env_callback_init(struct env_entry *var_entry)
first_call = 0;
}
+ var_entry->callback = NULL;
+
/* look in the ".callbacks" var for a reference to this variable */
if (callback_list != NULL)
ret = env_attr_lookup(callback_list, var_name, callback_name);