fix memory leak.
PR/398: Correctly truncate pascal strings (fixes out of bounds read of 1, 2,
or 4 bytes).
today's fixes.