isl_printer_to_str: avoid access to uninitialized data on failure
commitb99348d37f4ab77b3d504c5de361e19c3b0a2245
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 12 Apr 2014 08:13:33 +0000 (12 10:13 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 12 Apr 2014 12:15:56 +0000 (12 14:15 +0200)
treeb44fb6ec1e5b78ca7d36f7a281d4096e7a021374
parent290a2ed7ca6d301d8157ad5d411fee23daec4053
isl_printer_to_str: avoid access to uninitialized data on failure

In particular, initialize all fields to zero such that isl_printer_free
would not read any uninitialized data when called on a partially
constructed object.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_printer.c