Fix prevent defects
authorHyunjun Ko <zzoon.ko@samsung.com>
Tue, 9 Apr 2013 08:12:55 +0000 (17:12 +0900)
committerHyunjun Ko <zzoon.ko@samsung.com>
Tue, 9 Apr 2013 08:12:55 +0000 (17:12 +0900)
src/server/media-server-thumb.c

index 35bdef4..3b4c12a 100755 (executable)
@@ -964,7 +964,6 @@ gboolean _ms_thumb_agent_read_socket(GIOChannel *src,
 
        if ((client_sock = accept(sock, (struct sockaddr*)&client_addr, &client_addr_len)) < 0) {
                MS_DBG_ERR("accept failed : %s", strerror(errno));
-               close(client_sock);
                return TRUE;
        }