+ added missing free for line array