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.