Commit c631a54b authored by Dan Fandrich's avatar Dan Fandrich
Browse files

ftp: fixed a memory leak on wildcard error path

parent 76815144
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -551,6 +551,8 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
        Curl_getoff_all_pipelines(data, data->easy_conn);
    }

    Curl_wildcard_dtor(&data->wildcard);

    /* as this was using a shared connection cache we clear the pointer
       to that since we're not part of that multi handle anymore */
    data->state.conn_cache = NULL;