Skip to content

Comments

Fix segfault in bind_display()#93

Merged
Aetf merged 1 commit intoAetf:developfrom
kdj0c:fix_segfault_bind_display
Dec 25, 2024
Merged

Fix segfault in bind_display()#93
Aetf merged 1 commit intoAetf:developfrom
kdj0c:fix_segfault_bind_display

Conversation

@kdj0c
Copy link
Collaborator

@kdj0c kdj0c commented Dec 24, 2024

Commit e92a53e introduced a regression.
The encoder of the current connector can be null.

This also fix a memory leak, as the crtc returned by drmModeGetCrtc() was never freed.

Commit e92a53e introduced a regression.
The encoder of the current connector can be null.

This also fix a memory leak, as the crtc returned by drmModeGetCrtc()
was never freed.

Signed-off-by: Jocelyn Falempe <[email protected]>
@Aetf
Copy link
Owner

Aetf commented Dec 25, 2024

Thanks for catching and fixing this!

@Aetf Aetf merged commit 0633515 into Aetf:develop Dec 25, 2024
@kdj0c kdj0c deleted the fix_segfault_bind_display branch October 10, 2025 09:36
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