<HTML><HEAD><TITLE>Mail</TITLE>
<META content="KsDHTMLEDLib.ocx, FreeWare HTML Editor 1.164.2, ?Kurt Senfer" 
name=GENERATOR>
<META http-equiv=Content-Type content="text/html; charset=GB2312"></HEAD>
<BODY style="FONT-SIZE: 9pt; FONT-FAMILY: ËÎÌå" leftMargin=5 topMargin=5 #ffffff>
<DIV><!--AID_SENDTO_BEGIN-->Hi folk,<BR>I have a question on memory leak when 
deserialize.<BR>In the fuctions such as lwmpoly_deserialize, lwmline_deserialize 
and<BR>lwmpoint_deserialize, there is a temporal variable named insp which 
is<BR>defined as <FONT color=#ff0000>LWGEOM_INSPECTED *insp</FONT>; It allocated 
memory when it<BR>initialized in the statement :<FONT color=#ff0000> insp = 
lwgeom_inspect(srl);</FONT><BR>However, when finished, nowhere to free this 
memory which causes<BR>memory leak.<BR>Is that a bug or on purpose? or should be 
free manully by some<BR>methods?<BR><BR>Regards!<BR>Chenzhen</DIV>
<DIV> </DIV>
<DIV>chenzhen£¬<A 
href="mailto:zhenchen17@gmail.com"><!--AID_FROMADDRESS_BEGIN-->zhenchen17@gmail.com<!--AID_FROMADDRESS_END--></A></DIV>
<DIV>2008-06-11 </DIV></BODY></HTML>