Changeset 98


Ignore:
Timestamp:
Oct 1, 2007, 11:30:14 AM (18 years ago)
Author:
Paul Smedley
Message:

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

File:
1 edited

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}
Note: See TracChangeset for help on using the changeset viewer.