]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdated: Cleanup handling of notifications
authorAdrian Vovk <adrianvovk@gmail.com>
Sat, 31 Aug 2024 04:10:23 +0000 (00:10 -0400)
committerAdrian Vovk <adrianvovk@gmail.com>
Mon, 2 Sep 2024 15:02:31 +0000 (11:02 -0400)
commita841ad2945d7fe942cc000808e2736d09f287a51
treef20c81976bffc50acc5be7a8ff426ccd2b9afe1c
parent2e03c0befbcdea49d0228b1a24cb1dc38b473908
sysupdated: Cleanup handling of notifications

Cuts out some `strdup`s, and also avoids a rather weird case of donating
memory to a function. Basically just duplicates the solution I just
implemented for sysupdate's callout handler.
src/sysupdate/sysupdated.c