Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Fix leak test
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoCaso authored and Genevieve L'Esperance committed Jan 5, 2022
1 parent 6bd432f commit d3b1840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v8go.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ SnapshotBlob* CreateSnapshot(const char* source, const char* origin, int functio
}

void SnapshotBlobDelete(SnapshotBlob* ptr) {
delete ptr->data;
delete[] ptr->data;
delete ptr;
}

Expand Down

0 comments on commit d3b1840

Please sign in to comment.