]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/net/content_filter.c
xnu-3789.31.2.tar.gz
[apple/xnu.git] / bsd / net / content_filter.c
index c01c3d07879a722b218a001435e96368d49d48a2..a36d7137ca227f457f6ba026a67305d570d9cee0 100644 (file)
@@ -1840,6 +1840,7 @@ cfil_info_free(struct socket *so, struct cfil_info *cfil_info)
 
        if (so->so_flags & SOF_CONTENT_FILTER) {
                so->so_flags &= ~SOF_CONTENT_FILTER;
+               VERIFY(so->so_usecount > 0);
                so->so_usecount--;
        }
        if (cfil_info == NULL)