Skip to content

Commit

Permalink
Merge pull request #11 from nawaz1991/10-bug-memory-leak-in-validator…
Browse files Browse the repository at this point in the history
…store-destructor

Fixed memory leak
  • Loading branch information
nawaz1991 authored Jan 12, 2024
2 parents a01dc9a + 477a689 commit 55742f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/validators/validators_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ ValidatorsStore::~ValidatorsStore()
for (auto& param_validator : query_param_validators_) {
delete param_validator.validator;
}
delete body_validator_;
#endif
}

Expand Down

0 comments on commit 55742f8

Please sign in to comment.