By doing so, the bad odors coming from the pipes will be counteracted by the intense smell of the bay leaf, which in a short time will be able to completely neutralize them . At the end of the process, do not throw the remains of the burned leaves down the drain, but in the trash.
If unpleasant odors persist, you can repeat the procedure a second time. Or it could be a more serious problem, requiring the intervention of a specialist.