aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
return ENOENT;
}
+ if (!entry)
+ return ENOENT;
+
var_free(entry);
for (;;) {

Return to:

Send suggestions and report system problems to the System administrator.