Skip to content

Pen memory leak at shutdown #12099

Closed
Closed
@slouken

Description

@slouken

I haven't checked the other backends, but the X11 backend leaks pen handles.

SDL_QuitPen() gets called before X11_QuitPen(), so there aren't any pens left to clean up and the X11 handles are leaked.

I'm not sure the best way to handle this. Maybe add a cleanup callback to the AddPen call? Why don't we run into this with other types of devices?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions