|
From: David P. <da...@ne...> - 2003-06-17 07:07:11
|
Don Kinzer pointed out that dbi_conn_error is leaking memory. It produces the error string with asprintf, but never frees it and the documentation explicitly says not to free the string. Is anyone already freeing it on their own, or is it safe to make the string remembered statically and freed the next time dbi_conn_error is called? Any reason to do neither and force the user to free the returned string? David ------- David Parker <da...@ne...> Neon Goat Productions http://www.neongoat.com 0xF90FFFE5 / F362 51F7 6D51 85EB AF68 75B9 D29B 1AFC F90F FFE5 ------- |