mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-05 02:08:26 +02:00
surface: Fix detach mime-data after ecda633f88
Hi, while browsing the git log I've noticed a small mistake in the above commit, where we reversed the order of init/fini required to reset the mime-data array.
This commit is contained in:
parent
5f0a0088af
commit
e11d2d0b4d
1 changed files with 1 additions and 1 deletions
|
|
@ -275,8 +275,8 @@ _cairo_surface_detach_mime_data (cairo_surface_t *surface)
|
|||
if (! _cairo_surface_has_mime_data (surface))
|
||||
return;
|
||||
|
||||
_cairo_user_data_array_init (&surface->mime_data);
|
||||
_cairo_user_data_array_fini (&surface->mime_data);
|
||||
_cairo_user_data_array_init (&surface->mime_data);
|
||||
}
|
||||
|
||||
cairo_status_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue