Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SingleApplication: Fix double free on exit #173

Closed
wants to merge 1 commit into from

Conversation

jonaski
Copy link
Collaborator

@jonaski jonaski commented Jul 2, 2023

The private data is free'd in the destructor.

singleapplication.cpp Outdated Show resolved Hide resolved
@itay-grudev
Copy link
Owner

@jonaski Is this causing a crash for you - like a non-zero exit code?

The private data is free'd in the destructor.
@jonaski
Copy link
Collaborator Author

jonaski commented Jul 2, 2023

Nevermind, abortSafely is only called from the constructor.

@jonaski jonaski closed this Jul 2, 2023
@jonaski jonaski deleted the doublefree branch July 2, 2023 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants