IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30301


Ignore:
Timestamp:
Jan 19, 2011, 3:20:04 PM (15 years ago)
Author:
eugene
Message:

only print the first 500 leaks -- no one wants to see 64k leaks cascading from the first dropped reference...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/psLib/src/sys/psMemory.c

    r28401 r30301  
    626626            nleak++;
    627627
    628             if (fd != NULL) {
     628            // only print a max of 500 leaks (make this an argument)
     629            if ((nleak < 500) && (fd != NULL)) {
    629630                if (nleak == 1) {
    630631                    fprintf(fd, "# func at (file:line)  ID: X  Ref: X\n");
Note: See TracChangeset for help on using the changeset viewer.