mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-30 23:40:08 +01:00
XQuartz: Fix a possible minor memory leak
(cherry picked from commit 24e640e1fa)
This commit is contained in:
parent
530e7afd4b
commit
b5dea63fdb
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