diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2008-11-26 00:13:42 +0000 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2008-11-26 00:13:42 +0000 |
| commit | 84d2f261bf2b5a58c3b2f6bc1a1346eb1a4a6bc4 (patch) | |
| tree | 68dd67021160dd582ad542b3e4f6d252648e33c6 /ldap/admin/src | |
| parent | 190c6612ebb92e4ff771db43098e842083f7689a (diff) | |
| download | ds-84d2f261bf2b5a58c3b2f6bc1a1346eb1a4a6bc4.tar.gz ds-84d2f261bf2b5a58c3b2f6bc1a1346eb1a4a6bc4.tar.xz ds-84d2f261bf2b5a58c3b2f6bc1a1346eb1a4a6bc4.zip | |
Resolves: #430172
Summary: memory leaks after db "get" deadlocks, e.g. in CL5 trim
Description: Even if cursor->c_get returns non SUCCESS(==0), there is an
occasion that DBT data holds memory which is allocated in libdb. To release
the memory, put
slapi_ch_free ((void **)&key.data);
slapi_ch_free ((void **)&data.data);
just after the while loop, where we come to the point when cursor->c_get fails.
Diffstat (limited to 'ldap/admin/src')
0 files changed, 0 insertions, 0 deletions
