]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/dbus-execute.c
core/dbus: revert oversimplification (#3309)
authorJonathan Boulle <jonathanboulle@gmail.com>
Fri, 20 May 2016 14:20:00 +0000 (16:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 20 May 2016 14:20:00 +0000 (16:20 +0200)
commit4e282d11b7f4d08c85b8b80b055b3c92f6714ee1
tree7a6e6bd7195a17f5831db9d316a0b2a29f1f6872
parent6f270e6bd8b78aedf9f77534d6d11141ea0bf8ca
core/dbus: revert oversimplification (#3309)

free_and_strdup handles NULL but not empty strings.

See also:
https://github.com/systemd/systemd/pull/3283#issuecomment-220603145
https://github.com/systemd/systemd/pull/3307
src/core/dbus-execute.c