mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 00:00:12 +01:00
ddebug: use pclose to close a popen()'d FILE
Found by Coverity. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
21556d86fc
commit
bade0cd0fb
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ dd_dump_dmesg(FILE *f)
|
|||
while (fgets(line, sizeof(line), p))
|
||||
fputs(line, f);
|
||||
|
||||
fclose(p);
|
||||
pclose(p);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue