Page MenuHomePhabricator

What to do with sftp_canonicalize_path's returned pointer?
Open, Needs TriagePublic


The function sftp_canonicalize_path() is documented to return "The canonicalize path" but there's no mention where the memory for that string comes from or what's needed from an application to do with that pointer when done with it.

I presume then that libssh handles that memory automatically by itself when the application closes the sftp session? It would be useful with having this stated explicitly in the documentation.

Event Timeline

bagder created this task.Fri, Dec 21, 1:14 PM