Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

koderr

GDI object leaks in dialogs

Every time "Connecting..." dialog is shown, 1 GDI object is leaked.
Steps to reproduce: create new connection ("New site") for non-existing server, for example FTP on localhost on some random port, enter some random username and password (to prevent WinSCP from asking for username every time). Press login, the "Connecting to..." dialog will be shown briefly and connection will fail and "Connection failed" dialog will be displayed. Note GDI objects count (in Task manager, Process Explorer or any other tool). Press "Reconnect" and wait a few seconds for "Connection failed" dialog. GDI objects counter grows by +1. Repeat.
If you have a tab with remote session open and server goes offline, this can leak 1000s of GDI objects due to reconnection attempts.

8 GDI objects leak in "Login" ("New site") dialog.
Steps to reproduce: Press "New tab" (or Ctrl + N), then close the dialog. GDI objects counter grows by +8.