service: explicitly add comment about donated reference on parameter

Follow-up for: d6a911e906

See my comment: https://github.com/systemd/systemd/pull/31916/commits/d6a911e906e3fe0fdd357f2120209372574a8406#r1557384101
This commit is contained in:
Lennart Poettering
2024-04-10 02:08:03 +08:00
committed by Mike Yuan
parent 74531a93d6
commit 82bdb3ede2
+1 -1
View File
@@ -4705,7 +4705,7 @@ int service_set_socket_fd(
Service *s,
int fd,
Socket *sock,
SocketPeer *peer,
SocketPeer *peer, /* reference to object is donated to us on success */
bool selinux_context_net) {
_cleanup_free_ char *peer_text = NULL;