I think you got small memory leak there IMHO (either tmp_cp is not used
but allocated or cp is lost).
--
Timour Ezeev
Pivotal Dynamics
timour@pivotaldynamics.com
V: 305.406.9904
F: 305.406.9689
On Wed, 27 Oct 2004, Mark Cullen wrote:
>>
>> Anyway, (attempt at a) patch below. I think I made a bit of a mess of the
>> whole strlen stuff maybe. Not too sure about that..
>>
>> Thanks
>>
>
> Sorry, would have been better to attach the patch as a file I think, to
> preserve tabs and such. Whoops. I'll get there in the end!
>
> See attached.
>