basehub: Fix memory leak on unlink_pad

Change-Id: Id976472262a7d10673fdd2961e13dfe8c9145742