aboutsummaryrefslogtreecommitdiff
path: root/src/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/variable.c')
-rw-r--r--src/variable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/variable.c b/src/variable.c
index 333daeb..8e75ea2 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -173,6 +173,9 @@ symtab_remove(struct symtab *st, const char *name)
173 return ENOENT; 173 return ENOENT;
174 } 174 }
175 175
176 if (!entry)
177 return ENOENT;
178
176 var_free(entry); 179 var_free(entry);
177 180
178 for (;;) { 181 for (;;) {

Return to:

Send suggestions and report system problems to the System administrator.