1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-07 06:14:13 +01:00

- Replaced all free() with wfree() where appropriate

- Fixed some memory leaks
This commit is contained in:
dan
2000-10-31 14:57:22 +00:00
parent 581ab58f70
commit 497e34b6b8
72 changed files with 545 additions and 539 deletions

View File

@@ -136,7 +136,7 @@ createPanel(Panel *p)
} else {
wwarning(_("could not load icon file %s"), path);
}
free(path);
wfree(path);
}
path = LocateImage(buf2);
if (path) {
@@ -147,11 +147,11 @@ createPanel(Panel *p)
} else {
wwarning(_("could not load icon file %s"), path);
}
free(path);
wfree(path);
}
}
free(buf1);
free(buf2);
wfree(buf1);
wfree(buf2);
WMMapSubwidgets(panel->scrF);
@@ -175,7 +175,7 @@ createPanel(Panel *p)
} else {
wwarning(_("could not load icon file %s"), path);
}
free(path);
wfree(path);
}
panel->aliyB = WMCreateButton(panel->aliF, WBTOnOff);
WMResizeWidget(panel->aliyB, 48, 48);
@@ -190,7 +190,7 @@ createPanel(Panel *p)
} else {
wwarning(_("could not load icon file %s"), path);
}
free(path);
wfree(path);
}
WMGroupButtons(panel->alinB, panel->aliyB);