summaryrefslogtreecommitdiffstats
path: root/util/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cleanup.c')
-rw-r--r--util/cleanup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/cleanup.c b/util/cleanup.c
new file mode 100644
index 0000000..d6ac7c6
--- /dev/null
+++ b/util/cleanup.c
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+#include <stdlib.h>
+#include "cleanup.h"
+
+DEFINE_CLEANUP_FUNC(cleanup_charp, char *, free);