Changeset 98

Show
Ignore:
Timestamp:
10/01/07 11:30:14 (14 months ago)
Author:
psmedley
Message:

Don't free until we're done with the variable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/lib/tdb/common/open.c

    r94 r98  
    444444 
    445445        memset(tdb, 0, sizeof(*tdb)); 
    446         SAFE_FREE(tdb); 
    447446#ifdef __OS2__ 
    448447        DosCloseMutexSem( tdb->hGlobalLock); 
     
    453452        tdb->hTransactionLock = 0; 
    454453#endif 
     454        SAFE_FREE(tdb); 
    455455        return ret; 
    456456}