Skip to content

Commit

Permalink
Fix crash when searching Collaboration Groups
Browse files Browse the repository at this point in the history
  • Loading branch information
negasora committed May 16, 2024
1 parent c0eb25a commit e07d7c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collaboration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ std::vector<std::pair<uint64_t, std::string>> Remote::SearchGroups(const std::st
results.push_back({ids[i], names[i]});
}

delete ids;
delete[] ids;
BNFreeStringList(names, count);

return results;
Expand Down

0 comments on commit e07d7c1

Please sign in to comment.