projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: Fix memory leaks in unit test.
[mesa.git]
/
src
/
util
/
u_debug_stack_test.cpp
diff --git
a/src/util/u_debug_stack_test.cpp
b/src/util/u_debug_stack_test.cpp
index b5f8ea4ba386e8551edf68a8ee55cef4467df048..6add3e989b27ced00f6aaf36326b1c7638aff86e 100644
(file)
--- a/
src/util/u_debug_stack_test.cpp
+++ b/
src/util/u_debug_stack_test.cpp
@@
-106,6
+106,9
@@
TEST(u_debug_stack_test, capture_not_overwritten)
if (size > 0) {
EXPECT_STRNE(bt1, bt2);
}
+
+ free(bt1);
+ free(bt2);
}
#endif