Hi, this patch fix one crash on destroy of lensfun object with PEF images, is not clear why with PEF (Pentax) images, lensfun object is already NULL on destroy method, but fixes the problem in this particular images , in other images we don't had any problem.

 

Last edit: Sérgio M. Basto 2016-12-18