We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b23b0ef commit 3085e67Copy full SHA for 3085e67
1 file changed
src/command_transaction.cpp
@@ -49,7 +49,7 @@ CommandTransaction::Result::~Result()
49
50
void CommandTransaction::Result::allocate(size_t size)
51
{
52
- if (capacity < size)
+ if (capacity != size)
53
54
deallocate();
55
data = new unsigned char[size];
0 commit comments