pentix / qjournalctl

A multi-platform, Qt-based frontend for systemd's journalctl command. Accepting local as well as remote (SSH) data sources.
GNU General Public License v3.0
166 stars 17 forks source link

[windows][bug] Unexpected crash when new connection wizard is cancelled #52

Closed alacasta closed 4 years ago

alacasta commented 4 years ago

Environment

OS: Windows Steps:

  1. Open QJournalctl
  2. Go to remote > edit saved Connections > New
  3. Click on Cancel (See screenshot)

    Triage

    The problem seems to be related to how the pointer is being released. I don't know if this is a memory leak or if actually the object is being used by another instance. This kind of behaviours are exactly the reason to exist for the c++11 smart pointers. Maybe with them this can be easier managed.

image