Ignore:
Timestamp:
Nov 14, 2001, 1:49:06 PM (24 years ago)
Author:
phaller
Message:

replaced heap alloc by stack alloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/storage32.c

    r6711 r7335  
    11781178    ULONG          propertyIndex;
    11791179    ULONG          lastProperty  = 0;
     1180
    11801181    ULONG          blockCount    = 0;
    11811182
     
    70487049StgIsStorageFile(LPCOLESTR fn)
    70497050{
     7051#ifdef __WIN32OS2__
     7052        LPOLESTR16 xfn;
     7053        STACK_strdupWtoA(fn, xfn)
     7054        return StgIsStorageFile16((LPOLESTR16)xfn);
     7055#else
    70507056        LPOLESTR16      xfn = HEAP_strdupWtoA(GetProcessHeap(),0,fn);
    70517057        HRESULT ret = StgIsStorageFile16(xfn);
    7052 
    70537058        HeapFree(GetProcessHeap(),0,xfn);
    70547059        return ret;
    7055 }
    70567060#endif
     7061}
     7062#endif
Note: See TracChangeset for help on using the changeset viewer.