Issue 9864 - One-time leaks in accesslog
Summary: One-time leaks in accesslog
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: overlays (show other issues)
Version: unspecified
Hardware: All All
: --- minor
Target Milestone: 2.5.13
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-16 15:10 UTC by Howard Chu
Modified: 2022-07-14 21:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Howard Chu 2022-06-16 15:10:08 UTC
In tool mode, the accesslog's configured logdb suffix isn't freed. It's normally freed by the db_open handler but in tool mode the overlay never actually gets opened.

Also due to 414866b8889 ITS#9580, li_sids can leak when replacing mincsn.
Comment 1 Howard Chu 2022-06-16 15:12:12 UTC
fixed in master 95f959e2155420cdd274a9fc1f75011a075d11fc
Comment 2 Quanah Gibson-Mount 2022-06-23 18:53:53 UTC
head:

  • 95f959e2 
by Howard Chu at 2022-06-16T16:10:59+01:00 
ITS#9864 slapo-accesslog: plug onetime memleaks


RE26:

  • 2cf61793 
by Howard Chu at 2022-06-17T14:41:50+01:00 
ITS#9864 slapo-accesslog: plug onetime memleaks

RE25:

  • eb7b0ffe 
by Howard Chu at 2022-06-23T18:47:16+00:00 
ITS#9864 slapo-accesslog: plug onetime memleaks