s3-printing: Fix double free of cups request.
authorGünther Deschner <gd@samba.org>
Tue, 10 May 2011 13:49:05 +0000 (15:49 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:57:47 +0000 (12:57 +0200)
commit15d82ba902fe483ccd7e1977438279e8dfb2f7f7
tree3358eed5a548de2066d9c6844f4ad3fee09dd87d
parent4a2f4c83f5312b4db7f6205712d4f922c1df753e
s3-printing: Fix double free of cups request.

We never free the request in our cups api usage except for here. The reason is
probably htis (from the cupsDoConnect API docs):

"This function sends the IPP request to the specified server, retrying and
authenticating as necessary. The request is freed with ippDelete() after
receiving a valid IPP response."

Revert "Fix a memory leak in cups_pull_comment_location"

This reverts commit fee2664dad37536b05ce8bdae3e74d45b257f632.

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue May 10 17:32:58 CEST 2011 on sn-devel-104
(cherry picked from commit 019f11dd5b3240d05c1abe30dec3d793d6919313)
(cherry picked from commit 5d503c7e8927f2bdb252f2293e53b7e87f2d3cb5)
source3/printing/print_cups.c