On Fri, 30 Mar 2001, Patrick Lam wrote:

> This fixes a crasher which occurs when clearing tab stops.
> 
> pat
> 

Hi Pat,
        Thanks for this. I just made the change of adding a

delete m_pszTabStops;

Just before we leave the method to not leak the 2 bytes of memory :-)

After all Abi will be perfect.
(Eventually!)

Cheers

Martin

> 
> RCS file: /cvsroot/abi/src/wp/ap/xp/ap_Dialog_Tab.cpp,v
> retrieving revision 1.13
> diff -r1.13 ap_Dialog_Tab.cpp
> 327c327
> <       m_pszTabStops = NULL;
> ---
> >       m_pszTabStops = new char[1]; m_pszTabStops[0] = 0;
> 
> 
> 


Reply via email to