Skip to content

Commit 3b314f1

Browse files
committed
Cleanup for non-NUMA alloc case.
1 parent 60407e1 commit 3b314f1

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)