MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ACLFreeLogEntry

Function ACLFreeLogEntry

app/redis-6.2.6/src/acl.c:1783–1789  ·  view source on GitHub ↗

Release an ACL log entry. */

Source from the content-addressed store, hash-verified

1781
1782/* Release an ACL log entry. */
1783void ACLFreeLogEntry(void *leptr) {
1784 ACLLogEntry *le = leptr;
1785 sdsfree(le->object);
1786 sdsfree(le->username);
1787 sdsfree(le->cinfo);
1788 zfree(le);
1789}
1790
1791/* Adds a new entry in the ACL log, making sure to delete the old entry
1792 * if we reach the maximum length allowed for the log. This function attempts

Callers 1

addACLLogEntryFunction · 0.85

Calls 2

sdsfreeFunction · 0.85
zfreeFunction · 0.70

Tested by

no test coverage detected