Hide Forgot
+++ This bug was initially created as a clone of Bug #697027 +++ Bug 697027 - 6 - minor memory leaks found by Valgrind + TET Description: Moving "csn_free(&attributedeletioncsn)" to the free_and_return section to fix the leak. Created attachment 492469 [details] git patch file (master): [Case 6] ruvstore> ==28643== 48 bytes in 3 blocks are definitely lost in loss record 579 of 1,499 ==28643== at 0x4C23481: calloc (vg_replace_malloc.c:418) ==28643== by 0x4E70F19: slapi_ch_calloc (ch_malloc.c:243) ==28643== by 0x4E72AE6: csn_new (csn.c:102) ==28643== by 0x4E72B1D: csn_new_by_string (csn.c:112) ==28643== by 0x4E80146: str2entry_state_information_from_type (entry.c:131) ==28643== by 0x4E8179F: str2entry_dupcheck (entry.c:786) ==28643== by 0x4E82D4B: slapi_str2entry_ext (entry.c:1405) ==28643== by 0xBC6146C: id2entry (id2entry.c:406) ==28643== by 0xBC9D7C0: ldbm_back_next_search_entry_ext (ldbm_search.c:1296) ==28643== by 0xBC9D1D7: ldbm_back_next_search_entry (ldbm_search.c:1141) ==28643== by 0x4EB9211: iterate (opshared.c:1141) ==28643== by 0x4EB9ACF: send_results_ext (opshared.c:1522) ==28643== by 0x4EB8979: op_shared_search (opshared.c:733) ==28643== by 0x42BBE4: do_search (search.c:393) ==28643== by 0x413B76: connection_dispatch_operation (connection.c:611) ==28643== by 0x4152BF: connection_threadmain (connection.c:2328) ==28643== by 0x5FCD632: _pt_root (ptthread.c:187) ==28643== by 0x61E8760: start_thread (pthread_create.c:301) ==28643== by 0x64DD98C: clone (clone.S:115) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sorry. The patch to fix this bug is already applied as bz 711241. *** This bug has been marked as a duplicate of bug 711241 ***