projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65547d5
)
utMetadata: Fix memory leak
author
Turo Lamminen
<turotl@gmail.com>
Thu, 5 Oct 2017 08:33:27 +0000
(11:33 +0300)
committer
Turo Lamminen
<turotl@gmail.com>
Thu, 5 Oct 2017 09:15:28 +0000
(12:15 +0300)
test/unit/utMetadata.cpp
patch
|
blob
|
history
diff --git
a/test/unit/utMetadata.cpp
b/test/unit/utMetadata.cpp
index
b44de1e
..
4109b06
100644
(file)
--- a/
test/unit/utMetadata.cpp
+++ b/
test/unit/utMetadata.cpp
@@
-79,6
+79,7
@@
TEST_F( utMetadata, allocTest ) {
EXPECT_EQ( 1U, data->mNumProperties );
EXPECT_NE( nullptr, data->mKeys );
EXPECT_NE( nullptr, data->mValues );
+ aiMetadata::Dealloc( data );
}
TEST_F( utMetadata, get_set_pod_Test ) {