Fixed buffer leaks in DefaultSocks5CommandResponseTest

This commit is contained in:
Trustin Lee 2015-02-20 16:53:41 +09:00
parent d5207bc35c
commit 6d822195b0

View File

@ -57,6 +57,7 @@ public class DefaultSocks5CommandResponseTest {
0x00 0x00
}; };
assertByteBufEquals(expected, buffer); assertByteBufEquals(expected, buffer);
buffer.release();
} }
/** /**
@ -83,6 +84,7 @@ public class DefaultSocks5CommandResponseTest {
0x50 0x50
}; };
assertByteBufEquals(expected, buffer); assertByteBufEquals(expected, buffer);
buffer.release();
} }
/** /**
@ -106,6 +108,7 @@ public class DefaultSocks5CommandResponseTest {
0x50 0x50
}; };
assertByteBufEquals(expected, buffer); assertByteBufEquals(expected, buffer);
buffer.release();
} }
/** /**