diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-13 21:52:21 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-02-16 09:57:04 +0100 |
commit | 0f4f413907508fcd593e2a404866852b65bad89f (patch) | |
tree | 14b33b336e603416329ecef0b00962e0ff2c1d3a /source | |
parent | f5f1c76bc6826e68509467451c3d46673e1b0b5b (diff) | |
download | samba-0f4f413907508fcd593e2a404866852b65bad89f.tar.gz |
Fix Coverity ID 740 (RESOURCE_LEAK)
(cherry picked from commit d67b92eede5e648b73aea992e009a8996705ffa0)
Diffstat (limited to 'source')
-rw-r--r-- | source/printing/print_cups.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/printing/print_cups.c b/source/printing/print_cups.c index 9a09f7e793e..261116a89ea 100644 --- 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); |