aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-07-30 15:06:04 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-07-30 15:06:04 -0700
commit18e8a131f58a54008512b05062382900027bf1d9 (patch)
tree495c1991b68c79e5f118ab35cd224e963ab25743 /utils.c
parent3e63da180bc6cbce7c0673419a1a4a0f021591bb (diff)
xfree() -> delete()
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 60e12eb..39ae4cc 100644
--- a/utils.c
+++ b/utils.c
@@ -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)");