> Funny but with fix in CVS there's a memory leak :). > You need to add > if (abbr) delete[] abbr;
Nikolay. Actually, stdstr will first delete memory if it is allocated
to the target string. I believe the code is ok. Could you confirm if
you still think there is a memory leak and I am missing something? Thanks.
-Troy.
> in the very beginning of the loop. Goto - rulez :).
> I'm C programmer mainly, so don't get me wrong.
>
> Thanks,
> Nikolay.
>
>
