Logo Search packages:      
Sourcecode: leaktracer version File versions  Download package

void LeakTracer::progAbort ( abortReason_t  reason ) [inline]

Terminate current running progam.

Definition at line 251 of file LeakTracer.cc.

References writeLeakReport().

                                           {
            if (abortOn & reason) {
                  fprintf(report, "# abort; DUMP of current state\n");
                        fprintf(stderr, "LeakTracer aborting program\n");
                  writeLeakReport();
                  fclose(report);
                  abort();
            }
            else
                  fflush(report);
      }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index