mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Merge pull request #544 from diamante0018/develop
refactor(memory): remove nullptr check before std::free
This commit is contained in:
commit
9fb2161131
@ -76,10 +76,7 @@ namespace utils
|
||||
|
||||
void memory::free(void* data)
|
||||
{
|
||||
if (data)
|
||||
{
|
||||
std::free(data);
|
||||
}
|
||||
std::free(data);
|
||||
}
|
||||
|
||||
void memory::free(const void* data)
|
||||
|
Loading…
Reference in New Issue
Block a user