Remove remaining xfree calls from the portable version.

This commit is contained in:
Tiago Cunha
2012-07-11 19:50:46 +00:00
parent 1f5e6e35d5
commit 513bd8f62d
3 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@ vasprintf(char **ret, const char *fmt, va_list ap)
*ret = xmalloc(n + 1);
if ((n = vsnprintf(*ret, n + 1, fmt, ap2)) < 0) {
xfree(*ret);
free(*ret);
goto error;
}