chiark / gitweb /
Update grapheme break algorithm to Unicode 5.1.0 (based on UAX #29)
[disorder] / lib / configuration.c
index 23ecde27eadf3d35004672e8dec10f69e3374e5c..1fcfb1a6eefd138ef66aaba05dfa47438632c8da 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,