mirror of https://github.com/davisking/dlib.git
Fixed double delete
This commit is contained in:
parent
096ab3c847
commit
537354805d
|
@ -29,7 +29,7 @@ namespace dlib
|
|||
catch (...)
|
||||
{
|
||||
if (headset) delete [] headset;
|
||||
if (bodyset) delete [] headset;
|
||||
if (bodyset) delete [] bodyset;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue