A function could previously return a shared pointer by value
that was unassigned, leading to possible null pointer dereferences
when called later. @aprokop This should fix that crash you had in ForTrilinos. Validity can be checked with c_associated(wrapper%swigdata%cptr).
A function could previously return a shared pointer by value that was unassigned, leading to possible null pointer dereferences when called later. @aprokop This should fix that crash you had in ForTrilinos. Validity can be checked with
c_associated(wrapper%swigdata%cptr)
.