[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

mismatching allocation and deallocation

From: Daniel Marjamäki <daniel.marjamaki_at_gmail.com>
Date: Sun, 19 Oct 2008 08:58:43 +0200

There are a lot of mismatching allocation and deallocation.

Here is one mismatch:
[TortoiseMerge/MainFrm.cpp:1047]: buf

buf is allocated this way:
    TCHAR * buf = new TCHAR[cmd.GetLength()+1];

and deallocated this way:
    delete buf;

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-10-19 09:04:47 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.