mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-09 07:14:18 +01:00
WINGs: Make wmalloc() intialize allocated memory to 0
- Accordingly remove individual memsets, for now from WINGs only. Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
cf2301a048
commit
a71a604ab1
@@ -81,7 +81,6 @@ static void rebuildTable(WMHashTable * table)
|
||||
newSize = table->size * 2;
|
||||
|
||||
table->table = wmalloc(sizeof(char *) * newSize);
|
||||
memset(table->table, 0, sizeof(char *) * newSize);
|
||||
table->size = newSize;
|
||||
|
||||
for (i = 0; i < oldSize; i++) {
|
||||
|
||||
Reference in New Issue
Block a user