]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/varlink.c
varlink: add helper that clears the currently processed incoming message JSON object
authorLennart Poettering <lennart@poettering.net>
Wed, 5 Apr 2023 14:08:15 +0000 (16:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Apr 2023 13:14:21 +0000 (15:14 +0200)
commit790446bd6c09312e11f08395590582870306904c
tree83d0506f2af18bce676bc113edbe8618b8efed79
parent8531631763b37cd158e6d417e051c8a110223e0f
varlink: add helper that clears the currently processed incoming message JSON object

Some minor refactoring. This adds a helper call whose only job is to
unref the JSON object of the currently processed incoming message.

This doesn't make too much sense on its own, given this just replaces
one line by another. However, in a later patch when we'll add fd passing
we'll extend the function to also destroy associated fds, and then it
will start to make more sense.
src/shared/varlink.c