DMAResource: mutex_lock() before calling mutex_destroy().
This commit is contained in:
@@ -101,6 +101,7 @@ DMAResource::DMAResource()
|
|||||||
|
|
||||||
DMAResource::~DMAResource()
|
DMAResource::~DMAResource()
|
||||||
{
|
{
|
||||||
|
mutex_lock(&fLock);
|
||||||
mutex_destroy(&fLock);
|
mutex_destroy(&fLock);
|
||||||
free(fScratchVecs);
|
free(fScratchVecs);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user