aboutsummaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/layout.c b/layout.c
index bdfbd0a..4754daa 100644
--- a/layout.c
+++ b/layout.c
@@ -88,6 +88,7 @@ static int layout_migrate(const char *section)
if (cfg_rename(section, old, new) < 0) {
error("WARNING: %s: both keys '%s' and '%s' may not exist!", section, old, new);
}
+ free(new);
}
/* next field */