Fix double free in Video::~Video()
parent
e765862d24
commit
d311fa95c6
|
@ -367,8 +367,10 @@ Video::Video(uint64_t id, const Element &element, const Document &doc, const std
|
|||
}
|
||||
|
||||
Video::~Video() {
|
||||
if (contentLength > 0) {
|
||||
delete[] content;
|
||||
}
|
||||
}
|
||||
|
||||
} //!FBX
|
||||
} //!Assimp
|
||||
|
|
Loading…
Reference in New Issue