Dobby is a house-elf who was originally enslaved to the Malfoy family but was later freed by Harry Potter. Despite his diminutive size, he eventfully served harry potter.
After learning of a plot to harm students at Hogwarts, Dobby went to great lengths to warn Harry Potter not to return to school for his second year. He intercepted Harry's mail and even enchanted a Bludger to attack Harry during a Quidditch match, though his well-intentioned but misguided efforts only led to trouble.
Dobby cherished his freedom. He later found work in the Hogwarts kitchens for a small salary.
He continues to be a "free elf" dispite the short comings.