[argyllcms] Re: Typos and freeing bad food

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 25 Oct 2008 12:08:24 +1100

kevin smiley wrote:
scanin.c, line 1282:
        sr->free(sr);

You could try replacing the malloc at line 342 of scanrd.c with a calloc:

    if ((s = (scanrd_ *)calloc(1, sizeof(scanrd_))) == NULL)

and see if that fixes it.

Graeme Gill.


Other related posts: