terminal: Don't close fd twice
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Dec 2011 03:04:27 +0000 (22:04 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Dec 2011 03:04:27 +0000 (22:04 -0500)
clients/terminal.c

index d51f107..901ad11 100644 (file)
@@ -2038,7 +2038,6 @@ data_source_send(void *data,
        struct terminal *terminal = data;
 
        terminal_send_selection(terminal, fd);
-       close(fd);
 }
 
 static void