ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/x11.c
(Generate patch)

Comparing ray/src/rt/x11.c (file contents):
Revision 2.6 by greg, Wed Jun 24 09:12:50 1992 UTC vs.
Revision 2.7 by greg, Thu Jun 25 13:32:47 1992 UTC

# Line 407 | Line 407 | freepixels()                           /* free our pixels */
407          if (ncolors == 0)
408                  return;
409          XFreeColors(ourdisplay,ourmap,pixval,ncolors,0L);
410 +        free((char *)pixval);
411 +        pixval = NULL;
412          ncolors = 0;
413          if (ourmap != DefaultColormap(ourdisplay,ourscreen))
414                  XFreeColormap(ourdisplay, ourmap);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines