The sentence requires a preposition or adverb that indicates the direction or destination of the action. The phrase "gave away" means to give something to someone else, which fits the context of donating clothes to the poor.
She gave away all her old clothes to poor people.