code: public void close() {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.entry(tc, "close");
          }
  
          synchronized (closeSync) {
              if (closeCalled) {
                  return;
              }
  
              closeCalled = true;
  
              // Release the buffer used to store results of encryption, and given to
              // device channel for writing.
              if (null != this.encryptedAppBuffer) {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                      Tr.event(tc, "Releasing ssl output buffer during close. "
                                   + SSLUtils.getBufferTraceInfo(this.encryptedAppBuffer));
                  }
                  this.encryptedAppBuffer.release();
                  this.encryptedAppBuffer = null;
              }
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.exit(tc, "close");
          }
      }
docs: Release the potential input buffer that was created during encryption.