To: | Timour Ezeev <timour@xxxxxxxxxxxxxxxxxxx> |
From: | Mark Cullen <mark.cullen@xxxxxxxxxxxxx> |
Date: | Wed, 27 Oct 2004 17:47:30 +0100 |
Timour Ezeev wrote:
I think you got small memory leak there IMHO (either tmp_cp is not used but allocated or cp is lost).
I think I see what you mean with the tmp_cp allocated but not used. I don't think I get you on the cp is lost part though. Is the attached better?
Also, where would I put the free() exactly? I forgot about that..