diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-10-02 19:20:24 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-10-02 19:20:24 -0700 |
commit | 24e640e1fa6cfb3917ba90dcdabf1fadddff20aa (patch) | |
tree | 7259626a07532d9315c374f3379531b9a90af85b | |
parent | c4886fbabc1d8b4054654b227fcad83f58e8e798 (diff) |
XQuartz: Fix a possible minor memory leak
-rw-r--r-- | hw/xquartz/mach-startup/bundle-main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xquartz/mach-startup/bundle-main.c b/hw/xquartz/mach-startup/bundle-main.c index 691b5555e..640a91f23 100644 --- a/hw/xquartz/mach-startup/bundle-main.c +++ b/hw/xquartz/mach-startup/bundle-main.c @@ -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; } |