SDOCM00115768 Incorrect check for invalid pointer in Ipc_detach