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

Patch - leaking file handles and minor issues in ContextMenu

From: Dmitry <wipedout_at_yandex.ru>
Date: Tue, 25 Jan 2011 13:16:50 +0300

Hey.

CShellExt::WriteClipboardPathsToTempFile() leaks file handles on edge cases and also has
- too wide scope of variables
- unused variable
- unneeded extra copying of string

Attached is an untested patch that addresses that.

Best wishes.
Dmitry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2700339

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-01-25 11:17:04 CET

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.