mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-22 07:17:05 +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
@@ -92,7 +92,7 @@ W_ReadConfigurations(void)
|
||||
buttonName = WMGetUDStringForKey(defaults, "MouseWheelUp");
|
||||
if (buttonName) {
|
||||
button = getButtonWithName(buttonName, Button4);
|
||||
free(buttonName);
|
||||
wfree(buttonName);
|
||||
} else {
|
||||
button = Button4;
|
||||
}
|
||||
@@ -101,7 +101,7 @@ W_ReadConfigurations(void)
|
||||
buttonName = WMGetUDStringForKey(defaults, "MouseWheelDown");
|
||||
if (buttonName) {
|
||||
button = getButtonWithName(buttonName, Button5);
|
||||
free(buttonName);
|
||||
wfree(buttonName);
|
||||
} else {
|
||||
button = Button5;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user