mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 07:31:47 +00:00
server: let the caller of sendSync free the string
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -269,6 +269,7 @@ fn navigate(
|
||||
.loaderId = ctx.state.loaderID,
|
||||
};
|
||||
const res = try result(alloc, id orelse msg.id.?, Resp, resp, msg.sessionID);
|
||||
defer alloc.free(res);
|
||||
std.log.debug("res {s}", .{res});
|
||||
try server.sendSync(ctx, res);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user