Properly free pools in guac_client_free

This commit is contained in:
Michael Jumper 2012-09-06 20:23:03 -07:00
parent 54ef3f48fa
commit a38d59451d

View File

@ -174,6 +174,14 @@ void guac_client_free(guac_client* client) {
} }
/* Free layer pools */
guac_pool_free(client->__buffer_pool);
guac_pool_free(client->__layer_pool);
/* Free resource pool */
guac_pool_free(client->__resource_pool);
free(client->__resource_map);
free(client); free(client);
} }