PROBLEM: (MGO103517) (Patch ID: OSF425-380) ******** This patch fixes the following two problems with realtime library: 1. A locking problem when calling sem_close() with an invalid descriptor. 2. A memory leak.