crypto/ccp: fix resource leak
authorFerruh Yigit <ferruh.yigit@intel.com>
Sun, 28 Oct 2018 03:19:27 +0000 (03:19 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 12 Nov 2018 12:41:48 +0000 (13:41 +0100)
commit5ef2566e0df8b36ae7cd91b6ef6adb4cdc3e7d99
tree2b9d42e3a1a5c157f1a80b96ba9b3163056f4aae
parent459463ae6c2602de54c72330f31c206ac59387ea
crypto/ccp: fix resource leak

File *fp, opened but not closed, this patch add fclose(fp)

Fixes: ef4b04f87fa6 ("crypto/ccp: support device init")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Ravi Kumar <ravi1.kumar@amd.com>
drivers/crypto/ccp/ccp_pci.c