Repository navigation
Will calling ippDelete(request) or ippDelete(response) cause a crash? #1353
|
Hello This is my code: |
Replies: 2 comments 2 replies
|
Unlike You must call |
|
Thank you for your answer. If Ippdelete is indeed safe, what could be the possible causes of the crash stack I encountered? I have reviewed the relevant source code of libcups, but did not find the cause of the crash. Do you have any better suggestions or ideas? |
Unlike
cupsDoXxxRequest,cupsSendRequestdoes not delete the IPP request, so callingippDeleteis both safe and required.You must call
ippDeleteon any IPP response when you are done using it (ippDeleteis smart enough to ignore aNULLpointer if you happen to call it with one...)