ocmem: free handle before returning from failure
ocmem: return 0 when free fails for client graphics
Linux 3.4.85