On February 3, 2022 3:03:25 PM GMT+03:00, Dmitry Belyavskiy <dbelyavs at redhat.com> wrote: >Dear Damien, > >Here is a proof-of-concept patch fixing this issue for me. If it could be >polished, it would be great. > Didn't you forget to free both error message string and ssh buffer in the error path after do_mkdir? Sincerely Yours, Dan.