[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4751-g6118aae
Volker Lendecke
vlendec at samba.org
Tue Dec 30 14:53:33 GMT 2008
The branch, v3-3-test has been updated
via 6118aaeb2d4b164c5ed213aa2ae25ed13bfe1c22 (commit)
from dec9368e7458048b783bb2f967f578d5e094d805 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 6118aaeb2d4b164c5ed213aa2ae25ed13bfe1c22
Author: Volker Lendecke <vl at samba.org>
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 ca3415c..5fb1d37 100644
--- a/source/printing/print_cups.c
+++ b/source/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
More information about the samba-cvs
mailing list