udev: link-config - fix mem leak

Reported by Kay.