diff --git a/src/plfunc.c b/src/plfunc.c index 9f50306..af9f055 100644 --- a/src/plfunc.c +++ b/src/plfunc.c @@ -458,7 +458,6 @@ char* readFileToString(FILE* input) char* prev = string; capacity *= 2; string = malloc(sizeof(char) * capacity); - string += 1; memcpy(string, prev, sizeof(char) * (capacity / 2)); free(prev); }