mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 23:46:00 +01:00
fix possible crash 2
This commit is contained in:
parent
1c5c905c25
commit
78d11c456a
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ CLinuxDMABufV1Protocol::CLinuxDMABufV1Protocol(const wl_interface* iface, const
|
|||
return;
|
||||
}
|
||||
} else {
|
||||
LOGM(ERR, "DRM device {} has no render node!!", device->nodes[DRM_NODE_PRIMARY]);
|
||||
LOGM(ERR, "DRM device {} has no render node!!", device->nodes[DRM_NODE_PRIMARY] ? device->nodes[DRM_NODE_PRIMARY] : "null");
|
||||
drmFreeDevice(&device);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue