diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-13 21:52:21 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-13 21:55:10 +0100 |
commit | ad07bb8dbd1c188d1c8840fd8aee893a11115140 (patch) | |
tree | aa8f4a48321294d2842f607fda81a1f9dd9d725b | |
parent | 7d73130125723425e8884b00ca20ab77788f39d8 (diff) | |
download | samba-ad07bb8dbd1c188d1c8840fd8aee893a11115140.tar.gz samba-ad07bb8dbd1c188d1c8840fd8aee893a11115140.tar.bz2 samba-ad07bb8dbd1c188d1c8840fd8aee893a11115140.zip |
Fix Coverity ID 740 (RESOURCE_LEAK)
-rw-r--r-- | source3/printing/print_cups.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index ecdd0e4f38..8e792a944a 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); |