projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b23116a
)
Resolve the possible use of negative value (detected by coverity tool)
49/215349/1
accepted/tizen_5.5_unified_mobile_hotfix
tizen_5.5_mobile_hotfix
tizen_5.5_tv
accepted/tizen/5.5/unified/20191031.010026
accepted/tizen/5.5/unified/mobile/hotfix/20201027.063207
accepted/tizen/unified/20191009.231729
accepted/tizen/unified/20191011.015423
submit/tizen/20191007.211537
submit/tizen/20191008.054628
submit/tizen/20191009.211935
submit/tizen_5.5/20191031.000006
submit/tizen_5.5_mobile_hotfix/20201026.185106
tizen_5.5.m2_release
author
Jongmin Lee
<jm105.lee@samsung.com>
Mon, 7 Oct 2019 08:36:29 +0000
(17:36 +0900)
committer
Jongmin Lee
<jm105.lee@samsung.com>
Mon, 7 Oct 2019 08:36:29 +0000
(17:36 +0900)
Change-Id: Ibb68f024ef14a0beb10d2bc63ff28fe03d55762f
bus/at-spi-bus-launcher.c
patch
|
blob
|
history
diff --git
a/bus/at-spi-bus-launcher.c
b/bus/at-spi-bus-launcher.c
index
b15345b
..
91bdd48
100644
(file)
--- a/
bus/at-spi-bus-launcher.c
+++ b/
bus/at-spi-bus-launcher.c
@@
-400,8
+400,8
@@
ensure_a11y_bus_daemon (A11yBusLauncher *app, char *config_path)
return TRUE;
error:
- close (app->pipefd[0]);
- close (app->pipefd[1]);
+
if (app->pipefd[0] > 0)
close (app->pipefd[0]);
+
if (app->pipefd[1] > 0)
close (app->pipefd[1]);
app->state = A11Y_BUS_STATE_ERROR;
return FALSE;