diff --git a/src/config_parser.c b/src/config_parser.c index 4e16f060..e563c808 100644 --- a/src/config_parser.c +++ b/src/config_parser.c @@ -931,7 +931,7 @@ bool parse_file(const char *f, bool use_nagbar) { /* Then, allocate a new buffer and copy the file over to the new one, * but replace occurences of our variables */ char *walk = buf, *destwalk; - char *new = smalloc((stbuf.st_size + extra_bytes + 1) * sizeof(char)); + char *new = smalloc(stbuf.st_size + extra_bytes + 1); destwalk = new; while (walk < (buf + stbuf.st_size)) { /* Find the next variable */