bug 328509 initialization fix, patch from jhpedemonte, r/sr=pavlov, a=dveditz

This commit is contained in:
dveditz%cruzio.com 2006-03-03 23:44:58 +00:00
Родитель 122c820f55
Коммит 588629eb31
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -375,7 +375,7 @@ PRBool GIFInit(gif_struct* gs, void* aClientData)
return PR_FALSE;
// Clear out the structure, excluding the arrays
memset(gs, 0, offsetof(gif_struct, prefix));
memset(gs, 0, sizeof(gif_struct));
gs->clientptr = aClientData;
// Start with the version (GIF89a|GIF87a)