On Jun 1, 2006, at 1:15 PM, Ulf Erikson wrote:

Line 315 of pdf-mini.h reads "delete resources;", but since 'resources' 

was allocated with "new PdfXref[11]();" it must be "delete[] 

resources;". Such a fault is likely to cause memory corruption and/or a 

crash. Can someone able to reproduce this crash please try the fix and 

report back?



I reproduced a problem (but not actual crash) on OS X, applied this fix, and verified that it corrected things.