diff
-	kfree(mcam->counters.bmap);
+	void *tmp = mcam->counters.bmap;
+	mcam->counters.bmap = NULL;
+	kfree(tmp);
