Wha? Can you elaborate? Did they say you introduced a critical bug or something? Is there such thing a programmer malpractice?
Definitely learned my lesson on how important it is to get the initial contract correct, clarifying legal liabilities, responsibilities, etc. All your hard work and savings can go down the drain in a second if your employer wants to screw you over.