p.free(pcode);
P.FREE releases the memory used to hold a successfully compiled pattern. If P.COMPILE failed when you tried to compile the pattern, no memory was allocated for the compiled pattern, so you should not call P.FREE.
Copyright © 1996, Thinkage Ltd.