The branch, master has been updated
       via  fee2664dad37536b05ce8bdae3e74d45b257f632 (commit)
      from  b3abd484dbd7673120f7a7a9613789dc7aeb9341 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit fee2664dad37536b05ce8bdae3e74d45b257f632
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:
 source3/printing/print_cups.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index ca3415c..5fb1d37 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -1769,6 +1769,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