Changeset 576


Ignore:
Timestamp:
Mar 24, 2007, 11:44:31 PM (19 years ago)
Author:
Steven Levine
Message:

Forgot to add buffer free in IconProc - oops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/info.c

    r575 r576  
    44  $Id$
    55
    6   Info window
     6  Info windows
    77
    88  Copyright (c) 1993-98 M. Kimes
     
    454454  case WM_DESTROY:
    455455    emphasized = FALSE;
    456     if (pis && pis->lasthwndMenu) {
    457       WinDestroyWindow(pis->lasthwndMenu);
    458       pis->lasthwndMenu = (HWND)0;
    459     }
    460456    if (!pis)
    461457      return WinDefWindowProc(hwnd, msg, mp1, mp2);
     458    else {
     459      if (pis->lasthwndMenu)
     460        WinDestroyWindow(pis->lasthwndMenu);
     461      free(pis);
     462    }
    462463    break;
    463464  }
Note: See TracChangeset for help on using the changeset viewer.