free memory after PCE without OCL
memory alloc fix