Skip to content
  1. Nov 02, 2018
  2. Nov 01, 2018
  3. Oct 31, 2018
  4. Oct 30, 2018
  5. Oct 29, 2018
  6. Oct 27, 2018
  7. Oct 26, 2018
    • Daniel Gustafsson's avatar
      ssh: free the session on init failures · 5c8c310e
      Daniel Gustafsson authored
      
      
      Ensure to clear the session object in case the libssh2 initialization
      fails.
      
      It could be argued that the libssh2 error function should be called to
      get a proper error message in this case. But since the only error path
      in libssh2_knownhost_init() is memory a allocation failure it's safest
      to avoid since the libssh2 error handling allocates memory.
      
      Closes #3179
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      5c8c310e