projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3526fde
)
coverity 181577: lejp_conf loop on calling uv_loop_close to keep coverity happy
author
Andy Green
<andy@warmcat.com>
Wed, 19 Jul 2017 06:28:53 +0000
(14:28 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 19 Jul 2017 06:37:04 +0000
(14:37 +0800)
lib/lejp-conf.c
patch
|
blob
|
history
diff --git
a/lib/lejp-conf.c
b/lib/lejp-conf.c
index
966a6a0
..
3a1586d
100644
(file)
--- a/
lib/lejp-conf.c
+++ b/
lib/lejp-conf.c
@@
-776,7
+776,8
@@
lwsws_get_config_d(void *user, const char *d, const char * const *paths,
bail:
uv_fs_req_cleanup(&req);
- uv_loop_close(&loop);
+ while (uv_loop_close(&loop))
+ ;
return ret;
}