swconfig: swlib.c: Fix another memleak