Skip to content

Commit e07d7c1

Browse files
committed
Fix crash when searching Collaboration Groups
1 parent c0eb25a commit e07d7c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collaboration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ std::vector<std::pair<uint64_t, std::string>> Remote::SearchGroups(const std::st
849849
results.push_back({ids[i], names[i]});
850850
}
851851

852-
delete ids;
852+
delete[] ids;
853853
BNFreeStringList(names, count);
854854

855855
return results;

0 commit comments

Comments
 (0)