Commit 4e1ccfe4 by Marcus Winter

base_c: fixed codesonar warning

parent 3ade37c6
...@@ -179,7 +179,7 @@ void AllocTest::TestMixedAllocs() { ...@@ -179,7 +179,7 @@ void AllocTest::TestMixedAllocs() {
void* cache_aligned = NULL; void* cache_aligned = NULL;
cache_aligned = embb_alloc_cache_aligned(2); cache_aligned = embb_alloc_cache_aligned(2);
PT_EXPECT_NE(cache_aligned, static_cast<void*>(NULL)); PT_EXPECT_NE(cache_aligned, static_cast<void*>(NULL));
if (NULL == aligned) { if (NULL == cache_aligned) {
embb_free(plain); embb_free(plain);
embb_free_aligned(aligned); embb_free_aligned(aligned);
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment