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:
committed by
Mike Yuan
parent
74531a93d6
commit
82bdb3ede2
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user