mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Fix Coverity ID 740 (RESOURCE_LEAK)
This commit is contained in:
parent
7d73130125
commit
ad07bb8dbd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user