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

bar: Fix crash when unplugging HDMI #1338

Merged
merged 1 commit into from
Dec 8, 2021
Merged

Conversation

jfred9
Copy link
Contributor

@jfred9 jfred9 commented Dec 3, 2021

There is a double delete situation which causes a SIGSEGV to happen
during destruction of bar.

This was introduced by the group feature patch.

The same object pointer is stored in two different vectors of
unique_ptr element. Replace with shared_ptr to handle
reference counting correctly and avoid double delete.

There is a double delete situation which causes a SIGSEGV to happen
during destruction of bar.

This was introduced by the group feature patch.

The same object pointer is stored in two different vectors of
unique_ptr<AModule> element. Replace with shared_ptr to handle
reference counting correctly and avoid double delete.
@Alexays Alexays merged commit 39f42cd into Alexays:master Dec 8, 2021
@Alexays
Copy link
Owner

Alexays commented Dec 8, 2021

Thanks!

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.

2 participants