summaryrefslogtreecommitdiff
path: root/src/test/test_handles.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_handles.c')
-rw-r--r--src/test/test_handles.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_handles.c b/src/test/test_handles.c
index 7ddee6e376..eb1e1f1bbe 100644
--- a/src/test/test_handles.c
+++ b/src/test/test_handles.c
@@ -13,6 +13,8 @@ typedef struct demo_t {
} demo_t;
HANDLE_DECL(demo, demo_t, static)
+#define demo_handle_free(h) \
+ FREE_AND_NULL(demo_handle_t, demo_handle_free_, (h))
HANDLE_IMPL(demo, demo_t, static)
static demo_t *