Skip to content
Snippets Groups Projects
Commit f7daba53 authored by Arne Goedeke's avatar Arne Goedeke
Browse files

Image.BMP: zero padding bytes when running with valgrind support

parent cf13df41
Branches
Tags
No related merge requests found
......@@ -466,6 +466,9 @@ void img_bmp_encode(INT32 args)
s++;
if (!l--)
{
#ifdef USE_VALGRIND
MEMSET(c, 0, skip);
#endif
c+=skip;
l=img->xsize-1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment