aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index b44f1b1..d555ad2 100644
--- a/misc.c
+++ b/misc.c
@@ -17,7 +17,7 @@ void free_cfg(config_item *cfg)
for (i = cfg; i->type != C_END; i++)
if (i->type == C_STRING)
- sfree(i->sval);
+ sfree(i->u.string.sval);
sfree(cfg);
}