rmbox: Close opened files
Input and output files in trace_read function should be closed after using. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
739acd1e5e
commit
78ad1ccce5
|
@ -232,6 +232,10 @@ trace:
|
|||
addr += TRACE_BLOCK_SIZE;
|
||||
}
|
||||
|
||||
fclose(in_fd);
|
||||
if (out_fd)
|
||||
fclose(out_fd);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue