Changeset 1039 for trunk/dll/notify.c


Ignore:
Timestamp:
Jul 6, 2008, 12:16:21 AM (17 years ago)
Author:
Gregg Young
Message:

Removed unnecessary xfrees and included fortify.h where needed; moved several misplaced (x)frees;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notify.c

    r1038 r1039  
    198198
    199199    if (p != str)
    200       xfree(p, pszSrcFile, __LINE__);
     200      free(p);
    201201    if (id > NOTE_MAX)
    202202      id = NOTE_FRAME;
     
    275275                          LM_INSERTITEM, MPFROM2SHORT(LIT_END, 0), mp2);
    276276        PostMsg(hwndNotify, UM_NOTIFY, MPVOID, MPVOID);
    277         xfree((CHAR *)mp2, pszSrcFile, __LINE__);
     277        free((CHAR *)mp2);
    278278      }
    279279      WinDismissDlg(hwnd, 0);
     
    292292                        NOTE_LISTBOX,
    293293                        LM_INSERTITEM, MPFROM2SHORT(LIT_END, 0), mp2);
    294       xfree((CHAR *)mp2, pszSrcFile, __LINE__);
     294      free((CHAR *)mp2);
    295295    }
    296296
     
    505505            PostMsg(hwndNotify, UM_CONTAINER_FILLED, MPVOID, MPVOID);
    506506            once = TRUE;
    507           }
     507          }
     508          free(s);
    508509        }
    509         xfree(s, pszSrcFile, __LINE__);
    510510      }
    511511    }
Note: See TracChangeset for help on using the changeset viewer.