On 27 Mar 2005 Darren Salt linux@youmustbejoking.demon.co.uk wrote:
I demand that Stefan Huelswitt may or may not have written...
[snip]
The malloc memory is free'd by VDR, but there is still some memory leaked. I think it's internally lost. This can be proven with my patch. If the %a[ is omitted, there is no leak.
And if you free(description) before the sscanf()?
I did that. description is never != NULL when the code is called.
Regards.