mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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
Block a user