KPath.Adopt() fixed incorrect path/buffer length.
* The other object was left in an inconsistent state. * This lets the unit test for Adopt() pass.
This commit is contained in:
parent
663b800476
commit
4be518758d
@ -98,6 +98,8 @@ KPath::Adopt(KPath& other)
|
||||
fBufferSize = other.fBufferSize;
|
||||
|
||||
other.fBuffer = NULL;
|
||||
other.fBufferSize = 0;
|
||||
other.fPathLength = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user