mapswf.c memory leak??

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Wed May 30 09:54:15 EDT 2007


Thanks. Updated svn with the fix.
Stephen Woodbridge wrote:
> Hi,
> 
> Looking at mapswf.c line 1000
> 
>     tokens = msStringSplit(metadata, ',', &n);
> 
> in function msImageStartLayerSWF().
> 
> Am I missing something or doesn't this line allocate n strings in 
> tokens? Shouldn't these get freed, probably in the for (i=0 loop?
> 
> -Steve w.
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-dev mailing list