Fix alloc-dealloc-mismatch (video image)
This commit is contained in:
parent
5d73567ce2
commit
92d6cb9933
@ -54,7 +54,7 @@ public:
|
||||
if (destroy_callback) {
|
||||
destroy_callback(data, destroy_arg);
|
||||
} else {
|
||||
free(data);
|
||||
delete [] data;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user