Merge config aliasing bug fix.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Mar 2009 19:03:08 +0000 (19:03 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Mar 2009 19:03:08 +0000 (19:03 +0000)
lib/configuration.c

index 23ecde2..1fcfb1a 100644 (file)
@@ -510,6 +510,7 @@ static void free_none(struct config attribute((unused)) *c,
 static void free_string(struct config *c,
                        const struct conf *whoami) {
   xfree(VALUE(c, char *));
+  VALUE(c, char *) = 0;
 }
 
 static void free_stringlist(struct config *c,