Fixed leak in MString when assigning from another MString.
This commit is contained in:
1 parent
423af4eb52
commit
b44a00862b
31 files changed
+268
-4807
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -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;
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user