Commit c2898dcf authored by dveditz%cruzio.com's avatar dveditz%cruzio.com
Browse files

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

parent d81d4d83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)