Fixed double free (free'd wrong pointer)

This commit is contained in:
Michael Jumper 2011-11-26 12:18:57 -08:00
parent aa7be62488
commit 07a40605cb

View File

@ -154,7 +154,7 @@ void* start_client_thread(void* data) {
/* Load and init client */ /* Load and init client */
client = guac_client_plugin_get_client(plugin, socket, client = guac_client_plugin_get_client(plugin, socket,
connect->argc, connect->argv); connect->argc, connect->argv);
guac_instruction_free(select); guac_instruction_free(connect);
if (client == NULL) { if (client == NULL) {