diff
-	kfree(mcam->counters.bmap);
+	if (mcam->counters.bmap) {
+		kfree(mcam->counters.bmap);
+		mcam->counters.bmap = NULL;
+	}
