GUACAMOLE-1802: Switch memory allocation back to _aligned_malloc due to segfault caused by using _aligned_recalloc.

This commit is contained in:
Virtually Nick 2023-06-07 09:37:07 -04:00
parent 83ca7aa16b
commit 9859a72daf

View File

@ -41,7 +41,7 @@ BOOL guac_rdp_pointer_new(rdpContext* context, rdpPointer* pointer) {
rdp_client->display, pointer->width, pointer->height);
/* Allocate data for image */
unsigned char* data = _aligned_recalloc(NULL, 1, pointer->width * pointer->height * 4, 16);
unsigned char* data = _aligned_malloc(pointer->width * pointer->height * 4, 16);
cairo_surface_t* surface;