mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-30 02:12:30 +01:00
Coverity: fix misc resource leak
This commit is contained in:
committed by
Carlos R. Mafra
parent
77df89396c
commit
1215680b6d
@@ -799,6 +799,7 @@ char *GetShortcutString(const char *shortcut)
|
||||
*k = 0;
|
||||
mod = wXModifierFromKey(text);
|
||||
if (mod < 0) {
|
||||
wfree(buffer);
|
||||
return wstrdup("bug");
|
||||
}
|
||||
lbl = wXModifierToShortcutLabel(mod);
|
||||
|
||||
Reference in New Issue
Block a user