Skip to content

Commit

Permalink
Fix memory leak in Path.Destroy (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenzzer authored Mar 3, 2024
1 parent 0598845 commit 3a638b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension/natives/nextbot/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ cell_t ComputeToTarget(IPluginContext* context, const cell_t* params) {

cell_t Destroy(IPluginContext* context, const cell_t* params) {
auto path = Get<Path>(context, params[1]);
if (path) {
if (!path) {
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion product.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0
1.11.1

0 comments on commit 3a638b7

Please sign in to comment.