PRINT: Fix memory leak

Put this fix in master also.