diff options
Diffstat (limited to 'libdimension/pattern.c')
-rw-r--r-- | libdimension/pattern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/pattern.c b/libdimension/pattern.c index 6a2e286..f32671c 100644 --- a/libdimension/pattern.c +++ b/libdimension/pattern.c @@ -30,8 +30,8 @@ dmnsn_pattern * dmnsn_new_pattern(void) { dmnsn_pattern *pattern = dmnsn_malloc(sizeof(dmnsn_pattern)); - pattern->free_fn = NULL; - pattern->refcount = 1; + pattern->free_fn = NULL; + DMNSN_REFCOUNT_INIT(pattern); return pattern; } |