diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2016-06-04 14:43:43 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2016-06-05 20:43:36 +0930 |
commit | e7b1cb0c53fe0dc9af4cae280c34d98a1165bcf1 (patch) | |
tree | 86079669c3e165b476c942d16407ff7361fa37f2 /src/cairo-pattern.c | |
parent | 8e4d4de2a3ceb67188c93f8fbf22ed79be927753 (diff) |
image: fix record-replay-extend test failures
Diffstat (limited to 'src/cairo-pattern.c')
-rw-r--r-- | src/cairo-pattern.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c index 9cb89e99f..3aafcb214 100644 --- a/src/cairo-pattern.c +++ b/src/cairo-pattern.c @@ -357,6 +357,7 @@ _cairo_pattern_init_copy (cairo_pattern_t *pattern, /* The reference count and user_data array are unique to the copy. */ CAIRO_REFERENCE_COUNT_INIT (&pattern->ref_count, 0); _cairo_user_data_array_init (&pattern->user_data); + cairo_list_init (&pattern->observers); return CAIRO_STATUS_SUCCESS; } @@ -396,6 +397,7 @@ _cairo_pattern_init_static_copy (cairo_pattern_t *pattern, CAIRO_REFERENCE_COUNT_INIT (&pattern->ref_count, 0); _cairo_user_data_array_init (&pattern->user_data); + cairo_list_init (&pattern->observers); } cairo_status_t |