libdbi memory leak in dbi_result.c:_is_row_fetched()
Issue
We have an issue on libdbi:
Memory leak in dbi_result.c:_is_row_fetched()
Found and fixed the following memory leak:
==9877== 41 (24 direct, 17 indirect) bytes in 1 blocks are definitely lost in loss record 5 of 5
==9877== at 0x4C2260E: malloc (vg_replace_malloc.c:207)
==9877== by 0x60C5130: _dbd_row_allocate (dbd_helper.c:102)
==9877== by 0x896068B: ???
==9877== by 0x60C06FC: dbi_result_seek_row (dbi_result.c:107)
==9877== by 0x60C093F: dbi_result_next_row (dbi_result.c:176)
==9877== by 0x5462B1D: get_num_internal_links (ibms_clusterdb.c:1886)
==9877== by 0x5462C78: ibms_clusterdb_get_network_info (ibms_clusterdb.c:1933)
==9877== by 0x4053BD: devmgr_construct (devmgr.c:792)
==9877== by 0x403C3A: main (main.c:147)
Environment
- Red Hat Enterprise Linux (RHEL) 6
- package
libdbi-0.8.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.