Commits on Source (2)
-
Also free the pointer when returning in case the path is not a directory (this error condition was added later). To make sure this leak does not resurface, use vlc::wrap_cptr. Fixes: 73f7b186
f48fd358 -
As it stands, uri (result of input_item_GetURI()) is leaked when: - path is NULL - containingDir is not a dir - file is not a local file - none of the early returns are taken but uri is not NULL or empty To tackle these all at once, use vlc::wrap_cptr. Fixes: 1b95adaa
346113b3