Skip to content

Commit

Permalink
Bug 868948 - follow-up, r=ttaubert
Browse files Browse the repository at this point in the history
Differential Revision: https://nss-review.dev.mozaws.net/D341

--HG--
extra : amend_source : a9d6e62e5abbb5990125816d8b48dbc262ee8a0d
  • Loading branch information
franziskuskiefer committed Jun 1, 2017
1 parent 88e2740 commit 31574cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/freebl/gcm.c
Expand Up @@ -665,7 +665,7 @@ GCM_CreateContext(void *context, freeblCipherFunc cipher,
if (freeCtr) {
CTR_DestroyContext(&gcm->ctr_context, PR_FALSE);
}
if (ghash->mem) {
if (ghash && ghash->mem) {
PORT_Free(ghash->mem);
}
if (gcm) {
Expand Down

0 comments on commit 31574cf

Please sign in to comment.