projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c44ac
)
test: pclose the popened stream
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 25 May 2015 06:50:54 +0000
(16:50 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 25 May 2015 07:30:08 +0000
(17:30 +1000)
Found by Coverity
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index bc7e1cd94d668b6feef217ff44e38ba234a10a1e..037186f37960b1849db9ce9e3168958a3212c333 100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-100,7
+100,7
@@
litest_backtrace_get_lineno(const char *executable,
buffer[0] = '?';
fgets(buffer, sizeof(buffer), f);
-
f
close(f);
+
p
close(f);
if (buffer[0] == '?')
return false;