X11rdp: valgrind font fix

This commit is contained in:
Jay Sorg 2013-08-08 12:17:46 -07:00
parent 8582b4a1b6
commit 8086b59477

View File

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