The branch, v3-2-test has been updated
       via  783247bdce9268d44b14005ec3eb84c35e0cd71a (commit)
      from  69e7a69c781a10fc64f8e4d40c6ad07cdc23e645 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 783247bdce9268d44b14005ec3eb84c35e0cd71a
Author: Volker Lendecke <[email protected]>
Date:   Tue Dec 30 15:47:06 2008 +0100

    Fix a memory leak in cups_pull_comment_location
    
    We allocated "request" with ippNew, so we also should ippDelete it.

-----------------------------------------------------------------------

Summary of changes:
 source/printing/print_cups.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/printing/print_cups.c b/source/printing/print_cups.c
index 8d32ddb..1bb149c 100644
--- a/source/printing/print_cups.c
+++ b/source/printing/print_cups.c
@@ -1710,6 +1710,10 @@ bool cups_pull_comment_location(NT_PRINTER_INFO_LEVEL_2 
*printer)
        if (response)
                ippDelete(response);
 
+       if (request) {
+               ippDelete(request);
+       }
+
        if (language)
                cupsLangFree(language);
 


-- 
Samba Shared Repository

Reply via email to