mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
- Replaced all free() with wfree() where appropriate
- Fixed some memory leaks
This commit is contained in:
@@ -706,13 +706,13 @@ static void
|
||||
freeMoveData(MoveData *data)
|
||||
{
|
||||
if (data->topList)
|
||||
free(data->topList);
|
||||
wfree(data->topList);
|
||||
if (data->leftList)
|
||||
free(data->leftList);
|
||||
wfree(data->leftList);
|
||||
if (data->rightList)
|
||||
free(data->rightList);
|
||||
wfree(data->rightList);
|
||||
if (data->bottomList)
|
||||
free(data->bottomList);
|
||||
wfree(data->bottomList);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user