$NetBSD$ --- lib/X11/Xrm.c.orig 2005-05-13 22:53:44.000000000 +0000 +++ lib/X11/Xrm.c @@ -2656,6 +2656,7 @@ void XrmDestroyDatabase( else DestroyNTable(table); } + _XUnlockMutex(&db->linfo); _XFreeMutex(&db->linfo); (*db->methods->destroy)(db->mbstate); Xfree((char *)db);