Release an ACL log entry. */
| 1781 | |
| 1782 | /* Release an ACL log entry. */ |
| 1783 | void 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 |
no test coverage detected