[PATCH] conf: fix memory leaks in parse_def()