Skip to content

Commit f8cd30b

Browse files
authored
Merge pull request #25 from wolfSSL/qae_mem
Cleanup for non-NUMA alloc case
2 parents 60407e1 + 3b314f1 commit f8cd30b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wolfcrypt/src/port/intel/quickassist_mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ static void* _qaeMemAlloc(size_t size, void* heap, int type
408408
alignment, &page_offset);
409409
#endif
410410
}
411-
else if (ptr == NULL) {
411+
else {
412412
isNuma = 0;
413413
ptr = malloc(size + sizeof(qaeMemHeader));
414414
}

0 commit comments

Comments
 (0)