Fixed leak in MString when assigning from another MString.

This commit is contained in:
Brad Arant committed 2023-10-07 18:04:23 -07:00
1 parent 423af4eb52
commit b44a00862b
31 files changed
+268 -4807

No files matched your search

+3 -2
View File
@@ -54,9 +54,10 @@ int main(int argc, char **argv) {
// Reassignments.
coreutils::MString test10;
std::cout << ">" << test10 << "<" << std::endl;
test10 = "";
std::cout << test10 << std::endl;
std::cout << ">" << test10 << "<" << std::endl;
return 0;
}