]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/manager.c
core: modernize asprintf error handling
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 2 Jul 2021 14:48:56 +0000 (16:48 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Jul 2021 09:33:44 +0000 (11:33 +0200)
commit305757d80819873c8918c6ea229f96fc10b77696
treec4919d5b89bc62dc424483f729513b66550d9d9b
parenta01ba4b2b8deeb31c65f8ed525ebab51972919bf
core: modernize asprintf error handling

The man page says asprintf() pointer is "undefined" on error, but the
only meaningful interpretation is that it's either NULL or points to
something that should be freed with free().
src/core/manager.c