mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
Coverity: fix wmgenmenu resource leak
This commit is contained in:
committed by
Carlos R. Mafra
parent
4b1aee3e79
commit
5e37d13eb6
@@ -451,6 +451,7 @@ static void find_and_write(const char *group, char *list[][2], int this_is_termi
|
|||||||
WMAddToPLArray(L2Menu, L3Menu);
|
WMAddToPLArray(L2Menu, L3Menu);
|
||||||
wfree(t);
|
wfree(t);
|
||||||
}
|
}
|
||||||
|
wfree(argv);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
if (L2Menu)
|
if (L2Menu)
|
||||||
|
|||||||
Reference in New Issue
Block a user