Merge branch 'maint'
[platform/upstream/isl.git] / isl_printer.c
index fe8fab9..ae7596d 100644 (file)
@@ -213,6 +213,7 @@ __isl_give isl_printer *isl_printer_to_str(isl_ctx *ctx)
        if (!p->buf)
                goto error;
        p->buf_n = 0;
+       p->buf[0] = '\0';
        p->buf_size = 256;
        p->indent = 0;
        p->output_format = ISL_FORMAT_ISL;