Changeset 1014


Ignore:
Timestamp:
May 12, 2008, 1:05:08 AM (17 years ago)
Author:
Gregg Young
Message:

Fix 2 more memory leaks.

Location:
trunk/dll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/inis.c

    r1009 r1014  
    539539        WinSendMsg(hwndList, LM_SELECTITEM, MPFROMSHORT(0),
    540540                   MPFROMSHORT(TRUE));
    541         WinEnableWindowUpdate(hwndList, TRUE);
     541        WinEnableWindowUpdate(hwndList, TRUE);
     542        xfree(pData, pszSrcFile, __LINE__);
    542543        return TRUE;
    543544      }
  • trunk/dll/systemf.c

    r1009 r1014  
    605605      ex.flags = flags;
    606606    ex.flags &= (~PROMPT);
    607     return runemf2(ex.flags, hwnd, pszCallingFile, uiLineNumber, path,
     607    ret = runemf2(ex.flags, hwnd, pszCallingFile, uiLineNumber, path,
    608608                   (*ex.environment) ? ex.environment : NULL,
    609                    "%s", commandline);
     609                   "%s", commandline);
     610    xfree(commandline, pszSrcFile, __LINE__);
     611    return ret;
    610612  }
    611613}
Note: See TracChangeset for help on using the changeset viewer.