Skip to content

Commit

Permalink
Memory leak fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seal256 authored Jul 14, 2017
1 parent 8c0028c commit 8f67e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/crf/src/crf1d_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ crf1dm_t* crf1dm_new(const char *filename)
fseek(fp, 0, SEEK_SET);

buffer = buffer_orig = (uint8_t*)malloc(size + 16);
if (buffer_orig = NULL) {
if (buffer_orig == NULL) {
goto error_exit;
}

Expand Down

0 comments on commit 8f67e01

Please sign in to comment.