wmlib: remove wrong free highlighted by commit 65dc99d805