diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-12-02 20:46:51 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-12-02 20:46:55 +0100 |
commit | 50359973df1ea8fa5df4e9852178ddb0c66fdd79 (patch) | |
tree | 26bd40cd2547fc737dadab2be5e6fbe4b5d2d1e4 /src | |
parent | dist (diff) | |
download | read-quickly-1.0.1.tar.gz read-quickly-1.0.1.tar.bz2 read-quickly-1.0.1.tar.xz |
derp!1.0.1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/rq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -268,7 +268,7 @@ static int load_file(int fd) for (s = buffer; *s; s = end + 1) { if (word_count == size) { size = size ? (size << 1) : 512; - new = realloc(words, size * sizeof(char*)); + new = realloc(words, size * sizeof(*words)); t (new == NULL); words = new; } |