git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5f1c76
)
Fix Coverity ID 740 (RESOURCE_LEAK)
author
Volker Lendecke
<vl@samba.org>
Fri, 13 Feb 2009 20:52:21 +0000
(21:52 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 16 Feb 2009 08:57:04 +0000
(09:57 +0100)
(cherry picked from commit
d67b92eede5e648b73aea992e009a8996705ffa0
)
source/printing/print_cups.c
patch
|
blob
|
history
diff --git
a/source/printing/print_cups.c
b/source/printing/print_cups.c
index 9a09f7e793ee99575f691a106a181391ed158a61..261116a89eac43279ed03e4415248d407a7cbf6a 100644
(file)
--- a/
source/printing/print_cups.c
+++ b/
source/printing/print_cups.c
@@
-1364,6
+1364,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);