I think the bigger risk is forgetting to take everything off the clothes line (sometimes the shirt is already dry, the wool socks are not, so you think "I'll take them off later/in the morning" and, well, you forget it, and when you finally remember it, you've already walked ten kms, and don't want to walk back all the way for a sock or two. That happens often. Or maybe only to me, who knows!
I've also found many socks, underwear and towels directly on the camino path that had fallen off their owner's backpack, where they were supposed to dry, pinned to the outside of the pack. I have lost a few socks that way, and a leather boot. So, everything that dangles from your backpack needs to be tied/pinned securely.
So I'd be more concerned about losing something accidentally or forgetting to take it off the clothes line. A good routine helps. Check in the morning, did I pack everything? Like a mental checklist (food you might still have in the fridge, phone charger that might still be in a power socket, flip flops still stored under your bed, socks still drying on the clothes line ect.). Same after a rest stop. Poncho? Walking stick? Hat? Water bottle? Ect.
And even in case something is lost, it's annoying but not the end of the world. I've survived for a few days with one pair of socks or one shirt. At least on the Francés there's usually a town not far away where you can buy replacement, or maybe you find something in a donation/"left behind" box in an albergue.
One of the things I learned on the camino is, don't get too attached. One shirt leaves me, I'll find another!
Buen Camino