lapdm: fix memory leak due to unreachable code

detected by Smatch
1 file changed