8373924: Remove unreferenced ImageDecompressor::image_decompressor_close

Reviewed-by: alanb
This commit is contained in:
Henry Jen 2026-01-26 16:38:12 +00:00
parent bbae38e510
commit 67beb9cd81
2 changed files with 4 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2026, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -85,10 +85,6 @@ void ImageDecompressor::image_decompressor_init() {
}
}
void ImageDecompressor::image_decompressor_close() {
delete[] _decompressors;
}
/*
* Locate decompressor.
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2026, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -105,6 +105,7 @@ private:
protected:
ImageDecompressor(const char* name) : _name(name) {
}
virtual void decompress_resource(u1* data, u1* uncompressed,
ResourceHeader* header, const ImageStrings* strings) = 0;