summaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index c6bf9ff..848eba9 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -168,3 +168,8 @@ int nft_str2verdict(const char *verdict)
return -1;
}
+
+void xfree(const void *ptr)
+{
+ free((void *)ptr);
+}