mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-05 21:17:07 +00:00
Fix CID 1134815
This commit is contained in:
parent
53e4ac6b3e
commit
18d258c0ec
@ -381,8 +381,10 @@ R_API RFSFile *r_fs_slurp(RFS* fs, const char *path) {
|
||||
if (file) root->p->read (file, 0, file->size); //file->data
|
||||
else eprintf ("r_fs_slurp: cannot open file\n");
|
||||
} else {
|
||||
if (root->p->slurp)
|
||||
if (root->p->slurp) {
|
||||
free (roots);
|
||||
return root->p->slurp (root, path);
|
||||
}
|
||||
eprintf ("r_fs_slurp: null root->p->slurp\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user