Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.
Permalink
Browse files
8255845: Memory leak in imageFile.cpp
Reviewed-by: jlaskey, sundar
  • Loading branch information
Evan Whelan authored and JimLaskey committed Dec 3, 2020
1 parent fa58671 commit 66a2e70985fcdb8e0b91b05fbeae825db6ae9c78
Showing 1 changed file with 1 addition and 1 deletion.
@@ -178,8 +178,8 @@ const char* ImageModuleData::package_to_module(const char* package_name) {
// retrieve package location
ImageLocation location;
bool found = _image_file->find_location(path, location);
delete[] path;
if (!found) {
delete[] path;
return NULL;
}

0 comments on commit 66a2e70

Please sign in to comment.