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