Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libfreerdp/utils/http.c: fix resource leak
found by coverity 128 if (winpr_asprintf(&headers, &size, post_header_fmt, path, hostname, blen) < 0) CID 424888: (#1 of 1): Resource leak (RESOURCE_LEAK) 15. leaked_storage: Variable hostname going out of scope leaks the storage it points to. 129 return FALSE; 130 }
- Loading branch information