| 519 | } |
| 520 | |
| 521 | void mismatchAllocDealloc() |
| 522 | { |
| 523 | char * pChar = static_cast<char*>(_aligned_malloc(100, 2)); |
| 524 | // cppcheck-suppress mismatchAllocDealloc |
| 525 | free(pChar); |
| 526 | |
| 527 | // cppcheck-suppress unusedAllocatedMemory |
| 528 | pChar = static_cast<char*>(_malloca(32)); |
| 529 | // cppcheck-suppress mismatchAllocDealloc |
| 530 | _aligned_free(pChar); |
| 531 | } |
| 532 | |
| 533 | void nullPointer() |
| 534 | { |