Lionel Debroux lionel_debroux@yahoo.fr writes:
Is there anything wrong with this patch ? I think this one is a real memory leak.
nt_name is still leaked, and now you are leaking a file handle too. You really need to be more careful with these fixes.