I am not sure about Leonardo, but how do you will set Arduino IDE to use this programmer? this is an avr-asp I don't think is supported.