mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-05 12:50:30 +09:00
Ine1a8b359c1a missing `free` was added to `pkd_cleanup_socket_wrapper` to free a string allocated for the socket wrapper directory name. Move that `free` such that it also runs in the error-out paths in `pkd_cleanup_socket_wrapper`, to avoid a leak in those cases, too. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com> (cherry picked from commit9514547c2a)