summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-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
@@ -175,2 +175,5 @@ symtab_remove(struct symtab *st, const char *name)
+ if (!entry)
+ return ENOENT;
+
var_free(entry);

Return to:

Send suggestions and report system problems to the System administrator.