Fixed buffer leaks in DefaultSocks5CommandResponseTest

This commit is contained in:
Trustin Lee 2015-02-20 16:53:41 +09:00
parent d3e7a0bcd0
commit 7aeafb9c09

View File

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