smtp: free a temp resource
The returned address needs to be freed.
Follow-up to e3905de819
Spotted by Coverity
Closes #13038
This commit is contained in:
parent
e455490c3c
commit
07b667567f
@ -677,6 +677,7 @@ static CURLcode smtp_perform_mail(struct Curl_easy *data)
|
||||
/* An invalid mailbox was provided but we'll simply let the server
|
||||
worry about it */
|
||||
auth = aprintf("<%s>", address);
|
||||
free(address);
|
||||
}
|
||||
else
|
||||
/* Empty AUTH, RFC-2554, sect. 5 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user