projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83faf8a
)
e_info_protocol: added missing close for opened file.
71/71071/1
accepted/tizen/common/20160524.150617
accepted/tizen/ivi/20160524.095648
accepted/tizen/mobile/20160524.095655
accepted/tizen/tv/20160524.095523
accepted/tizen/wearable/20160524.095734
submit/tizen/20160524.040114
author
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 24 May 2016 03:54:10 +0000
(12:54 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 24 May 2016 03:54:10 +0000
(12:54 +0900)
Change-Id: I02af8900a73d99453e7c9890a0f58aa456625635
src/bin/e_info_protocol.c
patch
|
blob
|
history
diff --git
a/src/bin/e_info_protocol.c
b/src/bin/e_info_protocol.c
index 8df80fcd35e49a86a0c0dae4db7642417622b95a..89eb781fd48d6d1ef8e1a7291fe1e48861f7ee4c 100644
(file)
--- a/
src/bin/e_info_protocol.c
+++ b/
src/bin/e_info_protocol.c
@@
-839,12
+839,14
@@
_e_info_protocol_rule_file_set(const char *filename, char *reply, int *len)
pfs += (strlen(new_argv[2]) + 1);
if (!e_info_protocol_rule_set((const int) new_argc, (const char**) new_argv, reply, len))
- return EINA_FALSE;
+ {
+ close(fd);
+ return EINA_FALSE;
+ }
}
- if (fd >= 0)
- close(fd);
+ close(fd);
return EINA_TRUE;
}