Landlords can charge for the repair of any damages to the property the tenant (or their guest) caused. The landlord will need to distinguish the difference between damages and normal wear and tear. A few nail holes or small holes in the wall are typically considered normal wear and tear. However, if there are many or large holes in the wall, the landlord will probably charge for damages.
The information for this answer was found on our Security Deposit Return Letter answers.