diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-07-30 15:06:04 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-07-30 15:06:04 -0700 |
| commit | 18e8a131f58a54008512b05062382900027bf1d9 (patch) | |
| tree | 495c1991b68c79e5f118ab35cd224e963ab25743 /utils.c | |
| parent | 3e63da180bc6cbce7c0673419a1a4a0f021591bb (diff) | |
xfree() -> delete()
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ int memicmp(const void *v1, const void *v2, size_t n) // // Free memory, but also set the pointer to NULL for safety // -void xfree(void *p) +void delete(void *p) { if (*(void**)p == NULL) errx(EXIT_FAILURE, "attempt to free(NULL)"); |
