Changeset 1009 for trunk/dll/notebook.c
- Timestamp:
- May 10, 2008, 9:51:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/notebook.c
r998 r1009 214 214 pszWorkBuf = xmalloc(MaxComLineStrg, pszSrcFile, __LINE__); 215 215 if (!pszWorkBuf) { 216 xfree(szCLBuf );216 xfree(szCLBuf, pszSrcFile, __LINE__); 217 217 return 0; //already complained 218 218 } … … 222 222 NormalizeCmdLine(pszWorkBuf, szCLBuf); 223 223 memcpy(virus, pszWorkBuf, strlen(pszWorkBuf) + 1); 224 xfree(pszWorkBuf );225 xfree(szCLBuf );224 xfree(pszWorkBuf, pszSrcFile, __LINE__); 225 xfree(szCLBuf, pszSrcFile, __LINE__); 226 226 if (!strchr(virus, '%') && strlen(virus) > 3) 227 227 strcat(virus, " %p"); … … 487 487 pszWorkBuf = xmalloc(MaxComLineStrg, pszSrcFile, __LINE__); 488 488 if (!pszWorkBuf) { 489 xfree(szCLBuf );489 xfree(szCLBuf, pszSrcFile, __LINE__); 490 490 return 0; //already complained 491 491 } … … 522 522 strcat(bined, " %a"); 523 523 } 524 xfree(pszWorkBuf );525 xfree(szCLBuf );524 xfree(pszWorkBuf, pszSrcFile, __LINE__); 525 xfree(szCLBuf, pszSrcFile, __LINE__); 526 526 PrfWriteProfileString(fmprof, appname, "Viewer", viewer); 527 527 PrfWriteProfileString(fmprof, appname, "Editor", editor); … … 690 690 pszWorkBuf = xmalloc(MaxComLineStrg, pszSrcFile, __LINE__); 691 691 if (!pszWorkBuf) { 692 xfree(szCLBuf );692 xfree(szCLBuf, pszSrcFile, __LINE__); 693 693 return 0; //already complained 694 694 } … … 723 723 memcpy(mailrun, pszWorkBuf, strlen(pszWorkBuf) + 1); 724 724 } 725 xfree(pszWorkBuf );726 xfree(szCLBuf );725 xfree(pszWorkBuf, pszSrcFile, __LINE__); 726 xfree(szCLBuf, pszSrcFile, __LINE__); 727 727 PrfWriteProfileString(fmprof, appname, "HttpRunDir", httprundir); 728 728 PrfWriteProfileString(fmprof, appname, "FtpRunDir", ftprundir); … … 1326 1326 pszWorkBuf = xmalloc(MaxComLineStrg, pszSrcFile, __LINE__); 1327 1327 if (!pszWorkBuf) { 1328 xfree(szCLBuf );1328 xfree(szCLBuf, pszSrcFile, __LINE__); 1329 1329 return 0; //already complained 1330 1330 } … … 1346 1346 strcat(compare, " %a"); 1347 1347 } 1348 xfree(pszWorkBuf );1349 xfree(szCLBuf );1348 xfree(pszWorkBuf, pszSrcFile, __LINE__); 1349 xfree(szCLBuf, pszSrcFile, __LINE__); 1350 1350 PrfWriteProfileString(fmprof, appname, "Compare", compare); 1351 1351 break;
Note:
See TracChangeset
for help on using the changeset viewer.