Bellatrix kills Dobby. When Dobby comes to Malfoy manor to save Harry,Ron and Hermione who were prisoners there, he takes them out of there سے طرف کی Apparition - but just a سیکنڈ before they vanish together, Bellatrix throws a dagger out of fury - since she didnt have her wand (she was disarmed سے طرف کی Harry). And that dagger vanished along with the trio,griphook and dobby and it hit Dobby and Dobby died (sob...sob...). Hope this clears your doubt.