As it turns out, researchers have discovered that fruit flies will actually drink alcohol created from rotting fruits to kill off parasitic wasp larvae.
Source:
YouTube Video: Emory University
Milan NF, Kacsoh BZ, Schlenke TA. Alcohol Consumption as Self-Medication against Blood-Borne Parasites in the Fruit Fly. Current Biology Feb 16, 2012.