mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
When the fetch system informs its clients that certificate verification has failed, it has already stopped and cleaned up the fetch.
Stop llcache_fetch_cert_error attempting to abort the fetch, as this will result in a double free. svn path=/trunk/netsurf/; revision=10418
This commit is contained in:
parent
328fed8122
commit
01eb197f56
@ -2161,8 +2161,7 @@ nserror llcache_fetch_cert_error(llcache_object *object,
|
||||
{
|
||||
nserror error = NSERROR_OK;
|
||||
|
||||
/* Abort fetch for this object */
|
||||
fetch_abort(object->fetch.fetch);
|
||||
/* Fetch has been stopped, and destroyed. Invalidate object's pointer */
|
||||
object->fetch.fetch = NULL;
|
||||
|
||||
/* Invalidate cache-control data */
|
||||
|
Loading…
Reference in New Issue
Block a user