1
0
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:
Volker Lendecke 2009-02-13 21:52:21 +01:00
parent 7d73130125
commit ad07bb8dbd

View File

@ -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);