mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-04-20 11:50:38 +02:00
test: pclose the popened stream
Found by Coverity Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f2c44ac9cd
commit
2507828f3f
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ litest_backtrace_get_lineno(const char *executable,
|
|||
|
||||
buffer[0] = '?';
|
||||
fgets(buffer, sizeof(buffer), f);
|
||||
fclose(f);
|
||||
pclose(f);
|
||||
|
||||
if (buffer[0] == '?')
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue