Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d602960e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: fix use after free error"

parents 2651d80e 0c2d331a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -505,10 +505,10 @@ int ipa_reset_hdr(void)
		}
		list_del(&entry->link);
		entry->cookie = 0;
		kmem_cache_free(ipa_ctx->hdr_cache, entry);

		/* remove the handle from the database */
		ipa_id_remove(entry->id);
		kmem_cache_free(ipa_ctx->hdr_cache, entry);

	}
	for (i = 0; i < IPA_HDR_BIN_MAX; i++) {