A note on stability of impulsive differential equations