Dobby is a free elf

Dobby clutches the sock that sets him free from the Malfoys

Dobby holds the sock which grants his freedom from the Malfoys.
© JKR/Pottermore Ltd. ™ Warner Bros.