X11rdp: valgrind font fix

ulab-next
Jay Sorg 11 years ago committed by Jim Grandy
parent a308d2e25c
commit 02d550e11b

@ -386,6 +386,10 @@ get_color(PicturePtr pPicture)
return 0; return 0;
} }
pi32 = pixman_image_get_data(src); pi32 = pixman_image_get_data(src);
if (pi32 == 0)
{
return 0;
}
rv = *pi32; rv = *pi32;
LLOGLN(10, ("get_color: 0x%8.8x width %d height %d ", rv, LLOGLN(10, ("get_color: 0x%8.8x width %d height %d ", rv,
pixman_image_get_width(src), pixman_image_get_width(src),

Loading…
Cancel
Save