Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/b4c99f9e575b64ce55364446ef0ab840816370db
...commit
http://git.netsurf-browser.org/netsurf.git/commit/b4c99f9e575b64ce55364446ef0ab840816370db
...tree
http://git.netsurf-browser.org/netsurf.git/tree/b4c99f9e575b64ce55364446ef0ab840816370db
The branch, master has been updated
via b4c99f9e575b64ce55364446ef0ab840816370db (commit)
from 114dd37c6ec1a12d2fab752bae57a0d6e206e996 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=b4c99f9e575b64ce55364446ef0ab840816370db
commit b4c99f9e575b64ce55364446ef0ab840816370db
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
llcache: Free existing chain if we get a new one
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/content/llcache.c b/content/llcache.c
index 0d92a99..c1ddea5 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -3078,6 +3078,11 @@ static void llcache_fetch_callback(const fetch_msg *msg,
void *p)
case FETCH_CERTS:
/* Certificate information from the fetch */
+ if (object->chain != NULL) {
+ cert_chain_free(object->chain);
+ object->chain = NULL;
+ }
+
/* Persist the chain onto our object */
error = cert_chain_dup(msg->data.chain, &object->chain);
if (error != NSERROR_OK) {
-----------------------------------------------------------------------
Summary of changes:
content/llcache.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/content/llcache.c b/content/llcache.c
index 0d92a99..c1ddea5 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -3078,6 +3078,11 @@ static void llcache_fetch_callback(const fetch_msg *msg,
void *p)
case FETCH_CERTS:
/* Certificate information from the fetch */
+ if (object->chain != NULL) {
+ cert_chain_free(object->chain);
+ object->chain = NULL;
+ }
+
/* Persist the chain onto our object */
error = cert_chain_dup(msg->data.chain, &object->chain);
if (error != NSERROR_OK) {
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]