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>
Mon, 27 Apr 2020 15:38:44 +0000 (16:38 +0100)
commitcd1b0de601d0fa4ba462fc14a3f2e6b9f73b0985
tree796fdd480f4d6cf4834a31a1f7ac71cce6d709f5
parent7ab2d832b7a7b0799578fe9ba70495ed6d857aeb
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