Bug 362341 - Small one-time memory leak of configdir at startup
Summary: Small one-time memory leak of configdir at startup
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Directory Server   
(Show other bugs)
Version: 1.1.0
Hardware: All
OS: Linux
high
low
Target Milestone: ---
Assignee: Nathan Kinder
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 389_1.3.0 639035
TreeView+ depends on / blocked
 
Reported: 2007-11-01 18:50 UTC by Nathan Kinder
Modified: 2015-12-07 17:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-07 17:01:34 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
CVS Diffs (921 bytes, patch)
2007-11-01 18:51 UTC, Nathan Kinder
no flags Details | Diff

Description Nathan Kinder 2007-11-01 18:50:37 UTC
I noticed a small one-time memory leak at startup when running the server in
valgrind.  Here's the leak report:

==7983== 26 bytes in 1 blocks are definitely lost in loss record 8 of 39
==7983==    at 0x4004405: malloc (vg_replace_malloc.c:149)
==7983==    by 0xA5E3AF: strdup (in /lib/tls/libc-2.3.4.so)
==7983==    by 0x4031974: slapi_ch_strdup (ch_malloc.c:276)
==7983==    by 0x4050B6F: config_get_configdir (libglobs.c:4484)
==7983==    by 0x8051F5D: ??? (auth.c:281)
==7983==    by 0x8060BD1: ??? (main.c:924)
==7983==    by 0xA09DE2: (below main) (in /lib/tls/libc-2.3.4.so)

Comment 1 Nathan Kinder 2007-11-01 18:51:56 UTC
Created attachment 245961 [details]
CVS Diffs

Comment 4 Rich Megginson 2009-04-09 17:51:05 UTC
We should reduce the valgrind noise

Comment 6 Nathan Kinder 2010-12-10 21:23:22 UTC
This has already been fixed (presumably from the Coverity work that was done).  Marking this as MODIFIED.


Note You need to log in before you can comment on or make changes to this bug.