fix(core/linux/X11): double free during deinit
This commit is contained in:
parent
0a5d817f54
commit
c6beaa70a8
1 changed files with 0 additions and 1 deletions
|
|
@ -243,7 +243,6 @@ pub fn deinit(
|
||||||
x11: *X11,
|
x11: *X11,
|
||||||
linux: *Linux,
|
linux: *Linux,
|
||||||
) void {
|
) void {
|
||||||
x11.allocator.destroy(x11.surface_descriptor);
|
|
||||||
linux.allocator.destroy(x11.surface_descriptor);
|
linux.allocator.destroy(x11.surface_descriptor);
|
||||||
for (x11.cursors) |cur| {
|
for (x11.cursors) |cur| {
|
||||||
if (cur) |_| {
|
if (cur) |_| {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue