Skip to content

Commit

Permalink
Bug 1315936 - Memory error introduced by bug 1287271, r=martin.thomson
Browse files Browse the repository at this point in the history
  • Loading branch information
kaie committed Nov 9, 2016
1 parent ec7962d commit b8c8e0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ssl/ssl3con.c
Expand Up @@ -7366,7 +7366,9 @@ ssl_ParseSignatureSchemes(const sslSocket *ss, PLArenaPool *arena,
}

if (!numSchemes) {
PORT_Free(schemes);
if (!arena) {
PORT_Free(schemes);
}
schemes = NULL;
}

Expand Down

0 comments on commit b8c8e0e

Please sign in to comment.