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

sun_awt_motif_MButtonPeer_create leaks memory in the multifont case

XMLWordPrintable

    • b01
    • generic
    • solaris_2.5.1
    • Not verified

        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: