Use proper deallocation for FileBuff::_bigbuf

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 10
    • Affects Version/s: 9, 10
    • Component/s: hotspot
    • b21

      It is a good coding practice to properly deallocate dynamically allocated resources. In particular, dynamically allocated memory for arrays using the array-specific new[] operator is supposed to be deallocated using the array-specific delete[] operator. The deallocation of FileBuff::_bigbuf does not follow this recommendation and should therefore be changed.

            Assignee:
            Zoltan Majo (Inactive)
            Reporter:
            Zoltan Majo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: