Changeset 985 for trunk/dll/walkem.c
- Timestamp:
- Mar 1, 2008, 2:37:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/walkem.c
r966 r985 25 25 20 Jan 08 GKY Walk & walk2 dialogs now save and restore size and position 26 26 19 Feb 08 JBS Add "State at last FM/2 close" to the states combo box 27 29 Feb 08 GKY Use xfree where appropriate 28 29 Feb 08 GKY Refactor global command line variables to notebook.h 27 29 28 30 ***********************************************************************/ … … 43 45 #include "errutil.h" // Dos_Error... 44 46 #include "strutil.h" // GetPString 47 #include "notebook.h" // targetdirectory 45 48 #include "fm3dll.h" 46 49 … … 337 340 info->path = xstrdup(s, pszSrcFile, __LINE__); 338 341 if (!info->path) 339 free(info);342 xfree(info); 340 343 else { 341 344 info->next = NULL; … … 430 433 else 431 434 ldirhead = info->next; 432 free(info->path);433 free(info);435 xfree(info->path); 436 xfree(info); 434 437 break; 435 438 } … … 443 446 info->path = xstrdup(path, pszSrcFile, __LINE__); 444 447 if (!info->path) 445 free(info);448 xfree(info); 446 449 else { 447 450 info->next = NULL; … … 484 487 else 485 488 udirhead = info->next; 486 free(info->path);487 free(info);489 xfree(info->path); 490 xfree(info); 488 491 fUdirsChanged = TRUE; 489 492 return TRUE; … … 501 504 else 502 505 ldirhead = info->next; 503 free(info->path);504 free(info);506 xfree(info->path); 507 xfree(info); 505 508 return TRUE; 506 509 } … … 525 528 else 526 529 ldirhead = info->next; 527 free(info->path);528 free(info);530 xfree(info->path); 531 xfree(info); 529 532 return TRUE; 530 533 } … … 1195 1198 if (wa->changed) 1196 1199 WinSendMsg(hwnd, UM_SETUP3, MPVOID, MPVOID); 1197 free(wa);1200 xfree(wa); 1198 1201 WinDismissDlg(hwnd, 0); 1199 1202 break;
Note:
See TracChangeset
for help on using the changeset viewer.