Merge pull request #106 from acrisci/bug/fix-wild-buffer

Fix wild pointer to buffer
This commit is contained in:
Drew DeVault 2017-08-18 13:22:10 -04:00 committed by GitHub
commit d748fd1a8e

View file

@ -293,6 +293,7 @@ release:
pixman_region32_init(&surface->current.buffer_damage);
wl_resource_queue_event(surface->current.buffer, WL_BUFFER_RELEASE);
surface->current.buffer = NULL;
}
static void surface_set_buffer_transform(struct wl_client *client,