A malleable sustained release formulation is created utilizing a local anesthetic wherein the composition is made sustained release by incorporating it into a bovine or porcine hemostatic agent. The composition is malleable enough to fit into a cavity such as a dental cavity and form the shape of the cavity. In addition to providing sustained release of the anesthetic, the composition also provides quicker reduction in bleeding.