]> git.ipfire.org Git - thirdparty/systemd.git/commit
log-context: Don't add log context if value is NULL 39608/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 5 Nov 2025 22:45:30 +0000 (23:45 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 14 Nov 2025 10:38:59 +0000 (11:38 +0100)
commitbc8aebdce951d30b4ca1e7e1e7d3f5e0cf468f46
tree9228f9bc8a3dda7eba3d2f352337d491000a2463
parent5cf894ad584a50a248485981bf43262453b1ae94
log-context: Don't add log context if value is NULL

This avoids if conditions at the callsite which mess up stack based
lifetimes.
src/basic/log-context.c