ACK.
On Mon, Jun 08, 2009 at 05:25:32PM +0200, Jan Friesse wrote: > This prevents previous invalid read in close, because previous code > doesn't removes lock from list. > --- > trunk/lib/lck.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/trunk/lib/lck.c b/trunk/lib/lck.c > index 4e962dd..e65c82b 100644 > --- a/trunk/lib/lck.c > +++ b/trunk/lib/lck.c > @@ -1085,7 +1085,7 @@ saLckResourceUnlock ( > } > > hdb_handle_put (&lckLockIdHandleDatabase, lockId); > - hdb_handle_destroy (&lckLockIdHandleDatabase, lockId); > + lckLockIdInstanceFinalize (lckLockIdInstance); > > return (error); > > @@ -1178,7 +1178,7 @@ saLckResourceUnlockAsync ( > } > > hdb_handle_put (&lckLockIdHandleDatabase, lockId); > - hdb_handle_destroy (&lckLockIdHandleDatabase, lockId); > + lckLockIdInstanceFinalize (lckLockIdInstance); > > return (error); > > -- > 1.5.5.6 > > _______________________________________________ > Openais mailing list > [email protected] > https://lists.linux-foundation.org/mailman/listinfo/openais _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
