mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 22:57:04 +01:00
Replaced malloc by wmalloc
This commit is contained in:
1 parent
edc57cf7a1
commit
7b3c10b07d
1 file changed
+1
-4
+1
-4
@@ -127,10 +127,7 @@ wtokenjoin(char **list, int count)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
flat_string = malloc(j+count+1);
|
flat_string = wmalloc(j+count+1);
|
||||||
if (!flat_string) {
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
*flat_string = 0;
|
*flat_string = 0;
|
||||||
for (i=0; i<count; i++) {
|
for (i=0; i<count; i++) {
|
||||||
|
|||||||
Reference in new issue
Block a user