Changeset 985 for trunk/dll/notify.c


Ignore:
Timestamp:
Mar 1, 2008, 2:37:14 AM (17 years ago)
Author:
Gregg Young
Message:

Update sizes dialog (ticket 44); Make max command line length user settable (ticket 199); use xfree for free in most cases (ticket 212); initial code to check for valid ini file (ticket 102); Some additional refactoring and structure rework; Some documentation updates;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notify.c

    r907 r985  
    1414  06 Aug 07 GKY Reduce DosSleep times (ticket 148)
    1515  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
     16  29 Feb 08 GKY Use xfree where appropriate
    1617
    1718
     
    190191
    191192    if (p != str)
    192       free(p);
     193      xfree(p);
    193194    if (id > NOTE_MAX)
    194195      id = NOTE_FRAME;
     
    254255                          LM_INSERTITEM, MPFROM2SHORT(LIT_END, 0), mp2);
    255256        PostMsg(hwndNotify, UM_NOTIFY, MPVOID, MPVOID);
    256         free((CHAR *) mp2);
     257        xfree((CHAR *) mp2);
    257258      }
    258259      WinDismissDlg(hwnd, 0);
     
    271272                        NOTE_LISTBOX,
    272273                        LM_INSERTITEM, MPFROM2SHORT(LIT_END, 0), mp2);
    273       free((CHAR *) mp2);
     274      xfree((CHAR *) mp2);
    274275    }
    275276    {
     
    472473          }
    473474        }
    474         free(s);
     475        xfree(s);
    475476      }
    476477    }
Note: See TracChangeset for help on using the changeset viewer.