Fix memory leak in file proc (-x)

Signed-off-by: nixnodes <code@eth.si>