mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-11 01:40:19 +01:00
XQuartz: Fix a possible minor memory leak
This commit is contained in:
parent
c4886fbabc
commit
24e640e1fa
1 changed files with 1 additions and 0 deletions
|
|
@ -300,6 +300,7 @@ kern_return_t do_request_fd_handoff_socket(mach_port_t port, string_t filename)
|
|||
|
||||
handoff_data->fd = create_socket(handoff_data->filename);
|
||||
if(!handoff_data->fd) {
|
||||
free(handoff_data);
|
||||
return KERN_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue