From f0df38a4e8d7ce8e11e5d34f645c5b4da9d47291 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 26 Jan 2005 14:46:54 +0000 Subject: r5012: fix segfault caused by using a ipp_t * after calling cupsDoRequest() (This used to be commit 0ac3c4c5a231c314213dbce29e25911ddb04de2d) --- source3/printing/print_cups.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/printing/print_cups.c') diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index 44ae4916ca..59ab41b9f6 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -912,6 +912,8 @@ static int cups_queue_get(const char *printer_name, * printer-uri */ + request = ippNew(); + request->request.op.operation_id = IPP_GET_PRINTER_ATTRIBUTES; request->request.op.request_id = 1; -- cgit