Skip to content

Commit

Permalink
Fix a bug with bcrypt_get_hash and bcrypt_is_equal returning the prev…
Browse files Browse the repository at this point in the history
…ious result
  • Loading branch information
lassir committed Jan 6, 2014
1 parent af1bad0 commit d10a09d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ void plugin::process_result_queue()

while (!this->result_queue.empty())
{
this->result_queue.front().cb->exec();
delete(this->result_queue.front().cb);

this->active_result.hash = this->result_queue.front().hash;
this->active_result.match = this->result_queue.front().match;

this->result_queue.front().cb->exec();
delete(this->result_queue.front().cb);

this->result_queue.pop();
}
Expand Down

0 comments on commit d10a09d

Please sign in to comment.