mirror of https://github.com/BOINC/boinc.git
parent
846dc4db0a
commit
e599c0990f
|
@ -3131,3 +3131,10 @@ David Feb 8 2003
|
|||
|
||||
html_user/
|
||||
various
|
||||
|
||||
David Feb 10 2003
|
||||
- fix memory leaks
|
||||
|
||||
client/
|
||||
client_types.C
|
||||
net_xfer.C
|
||||
|
|
|
@ -237,6 +237,9 @@ FILE_INFO::FILE_INFO() {
|
|||
}
|
||||
|
||||
FILE_INFO::~FILE_INFO() {
|
||||
if (xml_signature) free(xml_signature);
|
||||
if (file_signature) free(file_signature);
|
||||
if (signed_xml) free(signed_xml);
|
||||
}
|
||||
|
||||
// Set the appropriate permissions depending on whether
|
||||
|
|
|
@ -268,7 +268,7 @@ int NET_XFER_SET::do_select(int max_bytes, int& bytes_transferred, struct timeva
|
|||
#elif __APPLE__
|
||||
getsockopt(fd, SOL_SOCKET, SO_ERROR, &n, (int *)&intsize);
|
||||
#else
|
||||
getsockopt(fd, SOL_SOCKET, SO_ERROR, &n, (unsigned int *)&intsize);
|
||||
getsockopt(fd, SOL_SOCKET, SO_ERROR, (void*)&n, (int *)&intsize);
|
||||
#endif
|
||||
if (n) {
|
||||
if (log_flags.net_xfer_debug) {
|
||||
|
|
Loading…
Reference in New Issue