Use guac_socket_free (was guac_socket_close)
This commit is contained in:
parent
57acd9d5da
commit
880b971b79
@ -87,7 +87,7 @@ void guacd_handle_connection(int fd) {
|
|||||||
guacd_log_guac_error("Error reading \"select\"");
|
guacd_log_guac_error("Error reading \"select\"");
|
||||||
|
|
||||||
/* Free resources */
|
/* Free resources */
|
||||||
guac_socket_close(socket);
|
guac_socket_free(socket);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ void guacd_handle_connection(int fd) {
|
|||||||
select->argc);
|
select->argc);
|
||||||
|
|
||||||
/* Free resources */
|
/* Free resources */
|
||||||
guac_socket_close(socket);
|
guac_socket_free(socket);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ void guacd_handle_connection(int fd) {
|
|||||||
guacd_log_guac_error("Error loading client plugin");
|
guacd_log_guac_error("Error loading client plugin");
|
||||||
|
|
||||||
/* Free resources */
|
/* Free resources */
|
||||||
guac_socket_close(socket);
|
guac_socket_free(socket);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -129,7 +129,7 @@ void guacd_handle_connection(int fd) {
|
|||||||
if (guac_client_plugin_close(plugin))
|
if (guac_client_plugin_close(plugin))
|
||||||
guacd_log_guac_error("Error closing client plugin");
|
guacd_log_guac_error("Error closing client plugin");
|
||||||
|
|
||||||
guac_socket_close(socket);
|
guac_socket_free(socket);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,7 +144,7 @@ void guacd_handle_connection(int fd) {
|
|||||||
if (guac_client_plugin_close(plugin))
|
if (guac_client_plugin_close(plugin))
|
||||||
guacd_log_guac_error("Error closing client plugin");
|
guacd_log_guac_error("Error closing client plugin");
|
||||||
|
|
||||||
guac_socket_close(socket);
|
guac_socket_free(socket);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ void guacd_handle_connection(int fd) {
|
|||||||
if (guac_client_plugin_close(plugin))
|
if (guac_client_plugin_close(plugin))
|
||||||
guacd_log_guac_error("Error closing client plugin");
|
guacd_log_guac_error("Error closing client plugin");
|
||||||
|
|
||||||
guac_socket_close(socket);
|
guac_socket_free(socket);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -187,7 +187,7 @@ void guacd_handle_connection(int fd) {
|
|||||||
guacd_log_error("Error closing client plugin");
|
guacd_log_error("Error closing client plugin");
|
||||||
|
|
||||||
/* Close socket */
|
/* Close socket */
|
||||||
guac_socket_close(socket);
|
guac_socket_free(socket);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user