diff options
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1377,7 +1377,7 @@ friendload(void) uint32_t i; sz = tox_count_friendlist(tox); - frnums = malloc(sz); + frnums = malloc(sz * sizeof(*frnums)); if (!frnums) eprintf("malloc:"); |