* hostio.c (require_data): Free *data, not data.

This commit is contained in:
Ulrich Weigand 2011-02-28 15:55:08 +00:00
parent 66b3e8dabc
commit 8040bd496a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-02-28 Ulrich Weigand <uweigand@de.ibm.com>
* hostio.c (require_data): Free *data, not data.
2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* hostio.c (require_data): Use free, not xfree.

View File

@ -135,7 +135,7 @@ require_data (char *p, int p_len, char **data, int *data_len)
if (escaped)
{
free (data);
free (*data);
return -1;
}