The remaining nulls

This commit is contained in:
Tim Wojtulewicz 2020-04-02 11:13:07 -07:00
parent 41c3256faa
commit 0a47588d0b
80 changed files with 565 additions and 565 deletions

View file

@ -18,8 +18,8 @@ using namespace std;
#include "Reporter.h"
struct PolicyFile {
PolicyFile () { filedata = 0; lmtime = 0; }
~PolicyFile () { delete [] filedata; filedata = 0; }
PolicyFile () { filedata = nullptr; lmtime = 0; }
~PolicyFile () { delete [] filedata; filedata = nullptr; }
time_t lmtime;
char* filedata;