Shortesh path free some pointers