equal
deleted
inserted
replaced
381 |
381 |
382 ClassPathImageEntry::~ClassPathImageEntry() { |
382 ClassPathImageEntry::~ClassPathImageEntry() { |
383 assert(_singleton == this, "must be"); |
383 assert(_singleton == this, "must be"); |
384 DEBUG_ONLY(_singleton = NULL); |
384 DEBUG_ONLY(_singleton = NULL); |
385 |
385 |
386 if (_name != NULL) { |
386 FREE_C_HEAP_ARRAY(const char, _name); |
387 FREE_C_HEAP_ARRAY(const char, _name); |
387 |
388 _name = NULL; |
|
389 } |
|
390 if (_jimage != NULL) { |
388 if (_jimage != NULL) { |
391 (*JImageClose)(_jimage); |
389 (*JImageClose)(_jimage); |
392 _jimage = NULL; |
390 _jimage = NULL; |
393 } |
391 } |
394 } |
392 } |