mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 22:57:04 +01:00
- Replaced all free() with wfree() where appropriate
- Fixed some memory leaks
This commit is contained in:
1 parent
581ab58f70
commit
497e34b6b8
72 files changed
+545
-539
No files matched your search
+4
-4
@@ -315,7 +315,7 @@ createPanel(Panel *p)
|
||||
} else {
|
||||
wwarning(_("could not load icon file %s"), path);
|
||||
}
|
||||
free(path);
|
||||
wfree(path);
|
||||
}
|
||||
path = LocateImage(buf2);
|
||||
if (path) {
|
||||
@@ -326,11 +326,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);
|
||||
|
||||
panel->raisT = WMCreateTextField(panel->raisF);
|
||||
WMResizeWidget(panel->raisT, 36, 20);
|
||||
|
||||
Reference in new issue
Block a user