utils: fix resource leak
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 23 Sep 2019 19:16:20 +0000 (21:16 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 23 Sep 2019 19:18:26 +0000 (21:18 +0200)
commitdaed0cf9831c07863e5a2a572c2dd242fe757a31
treea9858f735ddf9198dc38f84ceeacd1ae75597c81
parent383eb58f1750b3b96a82558b5dcb806a8a2528bc
utils: fix resource leak

Fix resource leak in fw3_lock_path in case flock fails

Detected by Coverity in CID 1453962

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
utils.c