Skip to content

Commit

Permalink
fixed a potential memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
dnewman-gpsw committed Aug 20, 2020
1 parent 7d12173 commit 2cfff3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPMF_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,7 @@ GPMF_ERR GPMF_ScaledData(GPMF_stream *ms, void *buffer, uint32_t buffersize, uin

if (remaining_sample_size < sample_size * read_samples)
{
return GPMF_ERROR_MEMORY;
ret = GPMF_ERROR_MEMORY;
goto cleanup;
}
}
Expand Down

0 comments on commit 2cfff3c

Please sign in to comment.