Commit f6b168de authored by Steve Holme's avatar Steve Holme
Browse files

ldap: Fixed memory leak from commit efb64fdf

parent 4113ad50
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -914,10 +914,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp)
  }

quit:
#if defined(CURL_LDAP_WIN) && \
    (defined(USE_WIN32_IDN) || defined(USE_WINDOWS_SSPI))
  Curl_unicodefree(path);
#endif
  Curl_safefree(path);

  return rc;
}