river: fix a few leaks

This commit is contained in:
Isaac Freund
2023-03-04 20:12:37 +01:00
parent 4d2f5bb32d
commit f5f9b526a0
4 changed files with 8 additions and 0 deletions

View File

@ -273,6 +273,7 @@ fn handleSurface(
assert(manager.lock != null);
LockSurface.create(wlr_lock_surface, manager.lock.?) catch {
log.err("out of memory", .{});
wlr_lock_surface.resource.postNoMemory();
};
}