<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:#0000C8;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>Found a email thread related to memory leak using omapi. Not sure if this has been fixed or a work around is available.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>Could you please shed some light on this?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>Appreciate your help in advance.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>An issue record, </span>[ISC-Bugs #22784]<span style='font-size:10.0pt;color:#0000C8'> has been created to address this behavior.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>Here is valgrind output while using v3.1-ESV <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849== 70 (12 direct, 58 indirect) bytes in 1 blocks are definitely lost in loss record 37 of 39<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    at 0x4022FBA: malloc (vg_replace_malloc.c:236)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x804FABF: dmalloc (alloc.c:80)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x805066C: omapi_value_new (alloc.c:1025)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x8055D10: omapi_generic_set_value (generic.c:160)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x805881A: omapi_message_set_value (message.c:160)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x8056A35: omapi_set_value (support.c:356)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x804CFFF: omapi_protocol_signal_handler (protocol.c:653)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x8052C3D: omapi_connection_signal_handler (connection.c:1018)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x805566E: omapi_io_signal_handler (dispatch.c:614)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x8056976: omapi_signal (support.c:290)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x804EBA7: omapi_connection_reader_trace (buffer.c:261)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==2849==    by 0x804E75F: omapi_connection_reader (buffer.c:137)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>And valgrind output while using v4.1-ESV,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828== 70 (12 direct, 58 indirect) bytes in 2 blocks are definitely lost in loss record 39 of 39<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    at 0x4022FBA: malloc (vg_replace_malloc.c:236)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x804F596: dmalloc (alloc.c:75)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x804F663: omapi_value_new (alloc.c:1021)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x805473D: omapi_generic_set_value (generic.c:157)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x805784A: omapi_message_set_value (message.c:162)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x804D2DA: omapi_protocol_signal_handler (protocol.c:649)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x8055866: omapi_signal (support.c:286)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x804EAC3: omapi_connection_reader_trace (buffer.c:265)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x80536D2: omapi_one_dispatch (dispatch.c:520)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x8053D53: omapi_wait_for_completion (dispatch.c:290)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x804AC39: dhcpctl_wait_for_completion (dhcpctl.c:141)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'>==5828==    by 0x8049B7B: main (in /home/user/list_dhclient)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#0000C8'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Consolas;color:#0000C8'>Wilson Yang<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Consolas;color:#0000C8'>720-836-2444<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>