Line 779 of lpd/printjob.c dup_cfpname = strdup(file); >> You now lose the handle to this part of the memory. You will never be >> able to free() it !! The whole preceeding line should be deleted since >> it's goal is completed by the following line if (!(dup_cfpname = strdup(file))) { syslog(LOG_ERR, "Can't allocate memory for temp cfp file name"); return(OK); }
Fixed in lpr 0.47