--Boundary-=_xtKUzFltSgmOFoknxqwrawgJMmQz Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit
NOTE 1: i comment the code in the inner for loop of attribute. NOTE 2: the output of valgrind shows:
62,130 bytes in 6,013 blocks are definitely lost in loss record 10 of 10 at 0x401B704: malloc (vg_replace_malloc.c:149) by 0x4441987: ber_memalloc_x (in /usr/lib/liblber-2.3.so.0.2.9) by 0x443ECA6: ber_get_stringbv (in /usr/lib/liblber-2.3.so.0.2.9) by 0x443ED1E: ber_get_stringa (in /usr/lib/liblber-2.3.so.0.2.9) by 0x443F3EE: ber_scanf (in /usr/lib/liblber-2.3.so.0.2.9) by 0x4161C67: ldap_next_attribute (in /usr/lib/libldap-2.3.so.0.2.9) by 0x80AC0E0: search_node_bydn (myprogram.c:1744) --Boundary-=_xtKUzFltSgmOFoknxqwrawgJMmQz Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
<DIV> </DIV> <DIV>NOTE 1: i comment the code in the inner for loop of attribute.= </DIV> <DIV>NOTE 2: the output of valgrind shows:</DIV> <DIV> </DIV> <DIV> 62,130 bytes in 6,013 blocks are definitely lost in loss recor= d 10 of 10<BR>  = ; at 0x401B704: malloc (vg_replace_malloc.c:149)<BR> &nb= sp; by 0x4441987: ber_memalloc_x (in /usr/l= ib/liblber-2.3.so.0.2.9)<BR> &nb= sp; by 0x443ECA6: ber_get_stringbv (in /usr/lib/liblber-2.3.so.0.2.= 9)<BR> by 0x443ED1E= : ber_get_stringa (in /usr/lib/liblber-2.3.so.0.2.9)<BR>  = ; by 0x443F3EE: ber_scanf (in /usr/li= b/liblber-2.3.so.0.2.9)<BR> &nbs= p; by 0x4161C67: ldap_next_attribute (in /usr/lib/libldap-2.3.so.0.= 2.9)<BR> by 0x80AC0= E0: search_node_bydn (myprogram.c:1744)</DIV><!-- CoreMail Version 3.1_de= v Copyright (c) 2002-2007 www.mailtech.cn --><br><!-- footer --><br><hr> <a style=3D"font-size:14px;line-height:15px; color:#000; text-decoration:= none" href=3D"http://event.mail.163.com/chanel/xyq.htm?from=3D126" target= =3D"_blank"><span style=3D"text-decoration:underline; color:blue">=C3=E2=B7= =D1=CA=D4=CD=E62006=D6=D0=B9=FA=D7=EE=BC=D1=CD=F8=C2=E7=D3=CE=CF=B7--=C3=CE= =BB=C3=CE=F7=D3=CE </span> </a> --Boundary-=_xtKUzFltSgmOFoknxqwrawgJMmQz--