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

Re: mismatching allocation and deallocation

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 19 Oct 2008 09:31:16 +0200

Daniel Marjamäki wrote:
> 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;

Thanks for noticing!
Should be fixed in r14336 - I hope I got all of those now.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-10-19 09:31:40 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.