*/
nf_ct_remove_expectations(ct);
+#if defined(CONFIG_NETFILTER_XT_MATCH_LAYER7) || defined(CONFIG_NETFILTER_XT_MATCH_LAYER7_MODULE)
+ if(ct->layer7.app_data)
+ kfree(ct->layer7.app_data);
+#endif
+
nf_ct_del_from_dying_or_unconfirmed_list(ct);
local_bh_enable();