Fixed leak of instruction buffer - missing free in guac_close

This commit is contained in:
Michael Jumper 2010-12-22 22:31:20 -08:00
parent 62a886d258
commit 46a9529aa4

View File

@ -57,6 +57,7 @@ GUACIO* guac_open(int fd) {
void guac_close(GUACIO* io) { void guac_close(GUACIO* io) {
guac_flush(io); guac_flush(io);
free(io->instructionbuf);
free(io); free(io);
} }