diff options
Diffstat (limited to 'conflictcheck.c')
-rw-r--r-- | conflictcheck.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conflictcheck.c b/conflictcheck.c index 1d46fa5..28a8cfa 100644 --- a/conflictcheck.c +++ b/conflictcheck.c @@ -188,6 +188,9 @@ cConflictCheck::~cConflictCheck() void cConflictCheck::InitDevicesInfo() { + if (devices) + delete [] devices; + devices = new cConflictCheckDevice[MAXDEVICES]; #ifdef DEBUG_CONFL numDevices = 4; |