diff --git a/libr/anal/hint.c b/libr/anal/hint.c index 09ef61cf2c542..e428a9430d1e4 100644 --- a/libr/anal/hint.c +++ b/libr/anal/hint.c @@ -526,6 +526,7 @@ static void hint_merge(RAnalHint *hint, RAnalAddrHintRecord *record) { } R_API RAnalHint *r_anal_hint_get(RAnal *a, ut64 addr) { + R_RETURN_VAL_IF_FAIL (a, NULL); RAnalHint *hint = R_NEW0 (RAnalHint); if (!hint) { return NULL;