Skip to content
Commit 3b5bfd9f authored by Declan Snyder's avatar Declan Snyder Committed by Anas Nashif
Browse files

scripts: check_compliance: Fix resource leak



The git diff subprocess was leaking, ie.,
it was still running with it's file streams open,
and python was printing warnings about this. Fix by calling
communicate() on the object which will do the cleanup.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent 402adc4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment