We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94cc77e commit f5bb7faCopy full SHA for f5bb7fa
1 file changed
libr/anal/anal.c
@@ -408,8 +408,10 @@ R_API void r_anal_trace_bb(RAnal *anal, ut64 addr) {
408
409
R_API RList* r_anal_get_fcns(RAnal *anal) {
410
R_RETURN_VAL_IF_FAIL (anal, NULL);
411
- // avoid received to free this thing
412
- anal->fcns->free = NULL;
+ if (anal->fcns) {
+ // avoid received to free this thing
413
+ anal->fcns->free = NULL;
414
+ }
415
return anal->fcns;
416
}
417
0 commit comments