Fix leak.
This commit is contained in:
parent
2643a62d4a
commit
71d53e0d4e
@ -119,6 +119,7 @@ namespace nv
|
|||||||
// Destructor.
|
// Destructor.
|
||||||
NV_FORCEINLINE ~Array() {
|
NV_FORCEINLINE ~Array() {
|
||||||
clear();
|
clear();
|
||||||
|
free<T>(m_buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user