View | Details | Raw Unified | Return to bug 209747
Collapse All | Expand All

(-)src/zm_logger.cpp (-1 / +4 lines)
Lines 504-510 Link Here
504
    va_list     argPtr;
504
    va_list     argPtr;
505
    struct timeval  timeVal;
505
    struct timeval  timeVal;
506
506
507
    const char * const file = basename(filepath);
507
    char *filecopy = strdup(filepath);
508
    const char * const file = basename(filecopy);
508
    
509
    
509
    if ( level < PANIC || level > DEBUG9 )
510
    if ( level < PANIC || level > DEBUG9 )
510
      Panic( "Invalid logger level %d", level );
511
      Panic( "Invalid logger level %d", level );
Lines 624-629 Link Here
624
        abort();
625
        abort();
625
      exit( -1 );
626
      exit( -1 );
626
    }
627
    }
628
629
    free(filecopy);
627
  }
630
  }
628
}
631
}
629
632

Return to bug 209747