nss-systemd: use _cleanup_ for pthread_mutex_{lock,unlock}
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 28 Mar 2020 12:26:25 +0000 (13:26 +0100)
committerMichael Biebl <biebl@debian.org>
Sun, 7 Jun 2020 22:56:37 +0000 (23:56 +0100)
commit22a9f330402c980a3019f0340f85fbff131a6850
treea17743be6ac83ffb42e4c6823caecc5eb85afe3a
parent43edbe03067fa3598020b4dedc1b932129aaeee4
nss-systemd: use _cleanup_ for pthread_mutex_{lock,unlock}

v2: separate the declaration from the assignment to appease clang.
(cherry picked from commit 37bc9dcc0988fe81b2d98ad0686dd33df2271c2f)

Gbp-Pq: Name nss-systemd-use-_cleanup_-for-pthread_mutex_-lock-unlock.patch
src/nss-systemd/nss-systemd.c