Skip to content

Commit

Permalink
Fixed buffer leaks in DefaultSocks5CommandResponseTest
Browse files Browse the repository at this point in the history
  • Loading branch information
trustin committed Feb 20, 2015
1 parent d5207bc commit 6d82219
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public void testEmptyDomain() {
0x00
};
assertByteBufEquals(expected, buffer);
buffer.release();
}

/**
Expand All @@ -83,6 +84,7 @@ public void testIPv4Host() {
0x50
};
assertByteBufEquals(expected, buffer);
buffer.release();
}

/**
Expand All @@ -106,6 +108,7 @@ public void testEmptyBoundAddress() {
0x50
};
assertByteBufEquals(expected, buffer);
buffer.release();
}

/**
Expand Down

0 comments on commit 6d82219

Please sign in to comment.