Skip to content

Commit

Permalink
Merge pull request #45 from MajorMurphy/fix-jpeg-memoryleak
Browse files Browse the repository at this point in the history
Fixed memory leak reading JPEG metadata
  • Loading branch information
FigBug authored Feb 21, 2024
2 parents f8e8c34 + 227cad3 commit 0e4d8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gin_metadata/metadata/gin_imagemetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static bool loadJPEGMetadataFromStream (juce::OwnedArray<ImageMetadata>& metadat

marker = marker->next;
}

jpeg_destroy_decompress(&jpegDecompStruct);
}
return metadata.size() > 0;
}
Expand Down

0 comments on commit 0e4d8f9

Please sign in to comment.