Re: [user32] Allocate buffer on heap (Bug 17076)

2009-01-23 Thread Paul Vriens
Jeff Latimer wrote: > Paul Vriens wrote: >> >> Some called functions assume that buffer is always on heap. That isn't >> the case >> anymore. > If you do > > +local_buffer = HeapAlloc(GetProcessHeap(), 0, buffer_size); > > shouldn't there be a HeapFree() added to match? > > Jeff > > > >

Re: [user32] Allocate buffer on heap (Bug 17076)

2009-01-23 Thread Jeff Latimer
Paul Vriens wrote: > > > Some called functions assume that buffer is always on heap. That isn't > the case > anymore. If you do +local_buffer = HeapAlloc(GetProcessHeap(), 0, buffer_size); shouldn't there be a HeapFree() added to match? Jeff