mirror of
https://github.com/monero-project/monero.git
synced 2026-01-25 22:04:28 +01:00
windows_service: fix memory leak
Found by codacy.com
This commit is contained in:
@@ -70,8 +70,9 @@ namespace {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return std::string{p_error_text};
|
std::string ret{p_error_text};
|
||||||
LocalFree(p_error_text);
|
LocalFree(p_error_text);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user