[cups.development] notifier - Get-Job-Attributes client-error-bad-request

Michael Sweet msweet at apple.com
Thu Apr 22 13:30:20 PDT 2010


On Apr 21, 2010, at 11:41 AM, Rodger Devine wrote:
> ...
> However, I've run into a 12-byte memory leak in our notifier, which I've 
> isolated to the following code (borrowed from lpq.c):

What is leaking the 12 bytes? When/how are you measuring for this leak?

> ...
> Is it legal to call ippNewRequest(IPP_GET_JOB_ATTRIBUTES) and store the 
> ipp_t pointer in the same variable as the original IPP request (event = 
> ippNew())? 

Sure, no reason not to as long as you delete the old one (which you appear to be doing).

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list