Changeset 1673

Show
Ignore:
Timestamp:
18/05/2007 21:30:26 (2 years ago)
Author:
chris
Message:

Fixed object use after delete, thanks Gary!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • box/chris/general/bin/bbackupd/BackupDaemon.cpp

    r1672 r1673  
    18011801                catch(...) 
    18021802                { 
    1803                         delete ploc; 
    1804                         ploc = 0; 
    18051803                        BOX_ERROR("Failed to setup location '" 
    18061804                                << ploc->mName << "' path '" 
    18071805                                << ploc->mPath << "'"); 
     1806 
     1807                        delete ploc; 
     1808                        ploc = NULL; 
     1809 
    18081810                        throw; 
    18091811                }