]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
src/config: fix coverity warning about add missing unlock()
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 20 May 2022 14:29:04 +0000 (08:29 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 20 May 2022 14:29:11 +0000 (08:29 -0600)
commit0b1dd319c1bb8eab1feb8d9e19b82934344822cf
tree2d1f01c44f9674d3dca86763cbe0c4fa062a477b
parentfdc076c7d6749ea0d63969afe74b1d158266f80f
src/config: fix coverity warning about add missing unlock()

Add missing unlock() of cg_mount_table_lock, reported by Coverity tool:

CID 1412126 (#1 of 1): Missing unlock (LOCK). missing_unlock:
Returning without unlocking cg_mount_table_lock.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 750388bda000a1ac00550ae400a4b5ace3dc1c37)
src/config.c