소스 검색

Fixed another memory error due to copy pasting code in early stagezs

main
Ludovic 'Archivist' Lagouardette 3 달 전
부모
커밋
7851949aeb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      lib.c

+ 1
- 1
lib.c 파일 보기

@ -154,7 +154,7 @@ static int ink_add_indigenous(struct context* ctx, const char* name, struct elem
int new_count;
void* renewed;
new_count = (ctx->words_capacity + ctx->words_capacity/2);
renewed = ctx->realloc(ctx->words, sizeof(struct native_fn) * new_count);
renewed = ctx->realloc(ctx->words, sizeof(struct fn) * new_count);
if(renewed == NULL) {
return -1;
} else {

불러오는 중...
취소
저장