CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2009/01/15 15:54:21

Modified files:
        sys/kern       : sysv_sem.c 

Log message:
Fix a memory leak in in the case where semget() is called with a
non-private key and flags of IPC_CREAT.

Before, if we found an existing semaphore, we jumped to the return and
forgot the free the preallocated semaphore. Instead, free it before we
jump.

Bug reported by Roland Bramm; thanks!

ok m...@.

Reply via email to