sd-bus: initialize mutex after we allocated the wqueue
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Jan 2019 20:06:30 +0000 (21:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2019 14:19:45 +0000 (15:19 +0100)
commit2fe9a10d7695c4c3a748969a0d1662c624e50e5e
tree82390b90742fb03e9495d171c86517cc4bb7d8b3
parent8f37636d91d801e757a959a9c68996c08cf9f460
sd-bus: initialize mutex after we allocated the wqueue

That way the mutex doesn't have to be destroyed when we exit early due
to OOM.
src/libsystemd/sd-bus/sd-bus.c