Authorities imposed a curfew on Malegaon , amid concern that the blasts might spark clashes between the local Muslim and Hindu communities .