From 2f75ff701841f8585b3905ac9b058c7ef3be10f9 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 29 Nov 2012 19:35:17 -0800 Subject: [PATCH] Fix leak in stream pool. --- libguac/src/client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libguac/src/client.c b/libguac/src/client.c index cf96e428..62b60885 100644 --- a/libguac/src/client.c +++ b/libguac/src/client.c @@ -166,6 +166,9 @@ void guac_client_free(guac_client* client) { guac_pool_free(client->__buffer_pool); guac_pool_free(client->__layer_pool); + /* Free stream pool */ + guac_pool_free(client->__stream_pool); + free(client); }