If you get anything deducted from your security deposit, it will have nothing to do with wall paint. However, filling the tiny tuck and nail holes is a good idea. As explained above, sand the excess putty off.
If you didn't cause any damages or break any of the conditions on your lease - you'll get your deposit back. If not, go to tenant-landlord or small claim court.