mapswf.c memory leak??

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Wed May 30 00:29:12 EDT 2007


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.

More information about the mapserver-dev mailing list