around line 135.  The old code has a memory leak, only freeing the BN if
it's NULL.

- if (!group->field)
-     BN_free(group->field);
- if (!group->a)
-     BN_free(group->a);
- if (!group->b)
-     BN_free(group->b);
+ BN_free(group->field);
+ BN_free(group->a);
+ BN_free(group->b);
.


_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to