Fix memory leak
This commit is contained in:
parent
3b643ff510
commit
2dfcde48e4
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ std::string ClientStatus::toJsonString()
|
|||
writer.SetMaxDecimalPlaces(10);
|
||||
respDocument.Accept(writer);
|
||||
|
||||
return strdup(buffer.GetString());
|
||||
return buffer.GetString();
|
||||
}
|
||||
|
||||
void ClientStatus::clearGPUInfoList()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue