Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4392083

Memory leak in AwtComponent::CreateDropTarget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • beta2
    • x86
    • windows_nt

      Ran the Swingset with build 40 in debug mode on NT. When I was done,
      a message printed to the console that a 68-byte memory leak was found
      (line 4946 of awt_Component.cpp). In my workspace, that line is the call
      to new in

      AwtDropTarget* AwtComponent::CreateDropTarget(JNIEnv* env) {
          m_dropTarget = new AwtDropTarget(env, this);
          ::CoLockObjectExternal((IUnknown*)m_dropTarget, TRUE, FALSE);
          m_dropTarget->RegisterTarget(TRUE);

          return m_dropTarget;
      }

            ibdsunw Ibd Ibd (Inactive)
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: