Fixed buffer leaks in DefaultSocks5CommandResponseTest
This commit is contained in:
parent
d5207bc35c
commit
6d822195b0
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user