Use 'sizeof(*w)' to compute the correct size passed to erealloc(). Although sizeof(char **) == sizeof(char *), it is not guaranteed. Change-Id: I5f66fafe20343d7e736922038d24abcd48bab8bd
3.8 KiB
3.8 KiB