From 276ea54ee48976bc29f9682e1a5a3c2f8ce39149 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 17 Feb 2015 11:03:06 -0500 Subject: [PATCH] don't destroy locked mutex --- src/dbStatic/dbPvdLib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dbStatic/dbPvdLib.c b/src/dbStatic/dbPvdLib.c index 43f9cd40f..49060366b 100644 --- a/src/dbStatic/dbPvdLib.c +++ b/src/dbStatic/dbPvdLib.c @@ -181,6 +181,7 @@ void dbPvdFreeMem(dbBase *pdbbase) ellDelete(&pbucket->list, (ELLNODE *)ppvdNode); free(ppvdNode); } + epicsMutexUnlock(pbucket->lock); epicsMutexDestroy(pbucket->lock); free(pbucket); }