Skip to content

Commit

Permalink
Merge pull request #17 from zayfod/master
Browse files Browse the repository at this point in the history
Added freeing of memory, allocated by register_blosc()
  • Loading branch information
FrancescAlted authored Jun 6, 2024
2 parents aaae50a + 6d60f33 commit e2f7493
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ int main(){
/* Register the filter with the library */
r = register_blosc(&version, &date);
printf("Blosc version info: %s (%s)\n", version, date);
free(version);
free(date);

if(r<0) goto failed;

Expand Down

0 comments on commit e2f7493

Please sign in to comment.