]> Savannah Git Hosting - gnulib.git/commit
vasnprintf: fix potential incorrect errno
authorPádraig Brady <P@draigBrady.com>
Mon, 8 Dec 2014 09:46:38 +0000 (09:46 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 8 Dec 2014 09:49:23 +0000 (09:49 +0000)
commitec6a60bfd9ba0f12ec07809636891909ee7ded66
tree39ffc4c870c64c9d0f5dc30b28d44903fed0972e
parentc5c4f53b31f1ad04f4033a6124120ffec9257847
vasnprintf: fix potential incorrect errno

An adjustment of the previous commit c5c4f53b.

* lib/vasnprintf.c (VASNPRINTF): free() generally doesn't set errno,
but it can potentially in certain edge cases.
Reported by Eric Blake.
lib/vasnprintf.c