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

sun_awt_motif_MButtonPeer_create leaks memory in the multifont case

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      solaris_2.5.1
    • Verification:
      Not verified

      Backports

        Description

        sun_awt_motif_MButtonPeer_create() (in awt_Button.c) leaks memory in the
        multifont case. It creates a temporary XmString which is never
        freed (mfstr).

        Similar leaks exist in

        > awt_Checkbox.c
        > sun_awt_motif_MCheckboxPeer_create
        >
        > awt_Choice.c
        > sun_awt_motif_MChoicePeer_addItem
        >
        > awt_MenuItem.c
        > sun_awt_motif_MMenuItemPeer_createMenuItem
        >
        > awt_MessageDialog.c
        > awt_motif_MMessageDialogPeer_setMessage
        >
        > awt_Menu.c
        > awt_createMenu

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rkhansunw Robi Khan (Inactive)
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: