This commit is contained in:
Chee Yee
2023-07-21 23:49:08 -07:00
parent 3dc2054e44
commit d98284a050
+1 -1
View File
@@ -251,7 +251,7 @@ int SmbClient::GetRange(const std::string &ppath, DataSink &sink, uint64_t size,
bool ok = sink.write((char*)buff, count);
if (!ok)
{
free((char *)buff);
free((uint8_t *)buff);
return 0;
}
}