eal/linux: fix memory leak of logid