> {quote:title=Charles Jensen wrote:}{quote} > I'm having a problem with memory leaks after updating (several) projects from XE2 to XE3. > > Clearly visible when ReportMemoryLeaksOnShutdown is enabled. => It seems to be related to using TIBQuery. > > Could it be because memory is allocated with GetMem/ReAllocMem (in IBAlloc) and freed by "FreeRecordBuffer" by setting the pointer to nil? > > - Charles