HomePhabricator

Moved a dereference so the null check will be before the dereferencing

Description

Moved a dereference so the null check will be before the dereferencing

Summary: This is a backport of libsecp256k1 PR644

Test Plan:

ninja check-secp256k1

Reviewers: #bitcoin_abc, nakihito

Reviewed By: nakihito

Differential Revision: https://reviews.bitcoinabc.org/D5352

Details

Provenance
Elichai Turkel <elichai.turkel@gmail.com>Authored on Jul 2 2019, 23:18
deadalnixCommitted on Feb 28 2020, 01:12
deadalnixPushed on Feb 28 2020, 01:43
Reviewer
nakihito
Differential Revision
D5352: Moved a dereference so the null check will be before the dereferencing
Parents
rSTAGING181d54fa7045: Fix typo in docs for _context_set_illegal_callback
Branches
Unknown
Tags
Unknown