xserver: Branch 'xorg-server-1.6-apple'

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Thu Oct 8 13:25:53 PDT 2009


 hw/xquartz/mach-startup/bundle-main.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 94c50cc860ced3cb2faf0ddaec5c118b0efe22d6
Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date:   Fri Oct 2 19:20:24 2009 -0700

    XQuartz: Fix a possible minor memory leak
    (cherry picked from commit 24e640e1fa6cfb3917ba90dcdabf1fadddff20aa)

diff --git a/hw/xquartz/mach-startup/bundle-main.c b/hw/xquartz/mach-startup/bundle-main.c
index 691b555..640a91f 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;
     }
 


More information about the xorg-commit mailing list