fixing segfault (due to a double free)

This commit is contained in:
Marcello Stanisci 2016-06-11 16:11:00 +02:00
parent 809cf5d604
commit afb10e1d9e

View File

@ -924,7 +924,6 @@ do_shutdown (void *cls)
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Invoking GNUNET_CURL_gnunet_rc_destroy()\n");
GNUNET_CURL_fini (ctx); // FIXME segfaults at curl.c:556
GNUNET_CURL_gnunet_rc_destroy (rc);
rc = NULL;
}