utf8: don't allow NUL in decoded strings.
[ccan] / tools / ccanlint / tests / reduce_features.c
index b49922b5d11b27b310b0b843870ee2be8310ed4a..34a897061bb4fbe16c69800bf699f930d753502b 100644 (file)
@@ -181,6 +181,7 @@ static void do_reduce_features(struct manifest *m,
                err(1, "Creating reduced-features/config.h");
        if (!write_all(fd, hdr, strlen(hdr)))
                err(1, "Writing reduced-features/config.h");
+       htable_option_free(options);
        close(fd);
        features_were_reduced = true;
 }