Calls to strdup() alloc memory using malloc(), and there's a leak because we never... 0.11
commit2f0dd658c407410890ec271b62eec9c9cba5edef
authorAlberto Bertogli <albertito@gmail.com>
Wed, 31 Mar 2004 01:58:57 +0000 (30 22:58 -0300)
committerAlberto Bertogli <albertito@gmail.com>
Sun, 15 Jul 2007 12:30:17 +0000 (15 09:30 -0300)
treeb379105370bb54bb395a34d367a186e7e5064523
parent5e892fdff3ffde41e16cd5316bca074ae1185fcc
Calls to strdup() alloc memory using malloc(), and there's a leak because we never free() it. This patch fixes this by simply freeing the allocated memory.

Calls to strdup() alloc memory using malloc(), and there's a leak because we
never free() it. This patch fixes this by simply freeing the allocated memory.

Thanks to David Hill for reporting this bug.
libjio.c