[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-865-gad07bb8d

Volker Lendecke vlendec at samba.org
Fri Feb 13 20:55:45 GMT 2009


The branch, master has been updated
       via  ad07bb8dbd1c188d1c8840fd8aee893a11115140 (commit)
      from  7d73130125723425e8884b00ca20ab77788f39d8 (commit)

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


- Log -----------------------------------------------------------------
commit ad07bb8dbd1c188d1c8840fd8aee893a11115140
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Feb 13 21:52:21 2009 +0100

    Fix Coverity ID 740 (RESOURCE_LEAK)

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

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


Changeset truncated at 500 lines:

diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index ecdd0e4..8e792a9 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -1365,6 +1365,8 @@ static int cups_queue_get(const char *sharename,
 		if (!pull_utf8_talloc(frame, &msg,
 				attr->values[0].string.text,
 				&size)) {
+			SAFE_FREE(queue);
+			qcount = 0;
 			goto out;
 		}
 	        fstrcpy(status->message, msg);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list