Skip to content

Commit

Permalink
fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
jya-kmu committed Sep 15, 2021
1 parent 869bf9e commit 0f96587
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wrapper/hermes_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ void HermesBucketDestroy(BucketClass *bkt) {
LOG(INFO) << "Hermes Wrapper: Destroying Bucket\n";

my_bkt->Destroy();
delete my_bkt;
}

bool HermesBucketContainsBlob(BucketClass *bkt, char *name) {
Expand Down

0 comments on commit 0f96587

Please sign in to comment.