1. libgd
  2. Untitled project
  3. gd-libgd

Commits

mattias  committed 611a83c

- file lost in last commit for #105 :)

  • Participants
  • Parent commits 286a6ea
  • Branches GD-2.0

Comments (0)

Files changed (1)

File src/gd_gif_in.c

View file
  • Ignore whitespace
 {
   gdImagePtr im;
   gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0);
+  if(!in)
+  	return 0;
   im = gdImageCreateFromGifCtx (in);
   in->gd_free (in);
   return im;