summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_debug.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-10 18:40:52 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-10 18:40:52 +0900
commit796b84e6ecb9df15c8865704490503ac347364f5 (patch)
treedd505d92a78a2658a258f2d804275296fc67d54c /src/bin/evas/evas_cserve2_debug.c
parent3a1d560c0cf8e1f00960f69b353de0ba31543b95 (diff)
cserve2 - debug bin - fix theoretical leak of socket fd
fixes CID 1039286
Diffstat (limited to 'src/bin/evas/evas_cserve2_debug.c')
-rw-r--r--src/bin/evas/evas_cserve2_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/evas/evas_cserve2_debug.c b/src/bin/evas/evas_cserve2_debug.c
index 92c8c8899f..9534fd6202 100644
--- a/src/bin/evas/evas_cserve2_debug.c
+++ b/src/bin/evas/evas_cserve2_debug.c
@@ -74,6 +74,7 @@ _server_connect(void)
74 len = strlen(remote.sun_path) + sizeof(remote.sun_family); 74 len = strlen(remote.sun_path) + sizeof(remote.sun_family);
75 if (connect(s, (struct sockaddr *)&remote, len) == -1) 75 if (connect(s, (struct sockaddr *)&remote, len) == -1)
76 { 76 {
77 close(s);
77 ERR("connect"); 78 ERR("connect");
78 return EINA_FALSE; 79 return EINA_FALSE;
79 } 80 }