Created attachment 226498 [details]
The detach of the interface and group were leaving pfi_ifnet memory behind. Doing an unref on the kif frees it up if this is the last reference.
On interface detach, the group deletion was notified first and then a change notification was sent. This would recreate the group in the kif layer. Reorder the change to before the delete.