Fixed double free (free'd wrong pointer)
authorMichael Jumper <zhangmaike@users.sourceforge.net>
Sat, 26 Nov 2011 20:18:57 +0000 (12:18 -0800)
committerMichael Jumper <zhangmaike@users.sourceforge.net>
Sat, 26 Nov 2011 20:18:57 +0000 (12:18 -0800)
src/daemon.c

index 4fec767..2d245da 100644 (file)
@@ -154,7 +154,7 @@ void* start_client_thread(void* data) {
     /* Load and init client */
     client = guac_client_plugin_get_client(plugin, socket,
             connect->argc, connect->argv); 
-    guac_instruction_free(select);
+    guac_instruction_free(connect);
 
     if (client == NULL) {