At last , worn out with sorrow and fatigue , she fell asleep and dreamt that she was wandering along a flowery meadow , when she came to a hut where she found an old witch , who promised to restore her husband to her .