Changeset 3375 for trunk/stac/src/stacCheckMemory.c
- Timestamp:
- Mar 4, 2005, 11:37:01 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/stac/src/stacCheckMemory.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/stacCheckMemory.c
r2500 r3375 44 44 45 45 if ((leakFile = fopen(LEAKS, "w")) == NULL) { 46 psError("stac.checkMemory", "Unable to open leaks file, %s\n",LEAKS);46 fprintf(stderr, "Unable to open leaks file, %s\n", LEAKS); 47 47 return; 48 48 } 49 49 50 int nLeaks = psMemCheckLeaks(0, &leaks, leakFile ); // Number of leaks50 int nLeaks = psMemCheckLeaks(0, &leaks, leakFile, false); // Number of leaks 51 51 psTrace("stac.checkMemory", 1, "%d leaks found.\n", nLeaks); 52 52 for (int i = 0; i < nLeaks; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
