remote: close file on usteer_init_local_id fread fail master
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 29 May 2023 17:25:32 +0000 (19:25 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 29 May 2023 17:27:02 +0000 (19:27 +0200)
commite218150979b40a1b3c59ad0aaa3bbb943814db1e
treed5177835b03270627042e6610cc379727ccb0d17
parent7d2b17c91baf67419c0ce63dc6c65a7659ab6a5c
remote: close file on usteer_init_local_id fread fail

Fix Coverity Scan CID 1521041 reporting a not closed FILE on fread fail.
Correctly close the FILE on fread fail to fix this leak.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
remote.c