Avoid uaf

This commit is contained in:
pancake 2021-05-28 04:12:54 +02:00
parent 5aea07353b
commit abe2e3b4fc

View File

@ -328,6 +328,7 @@ err:
free (efile);
r_search_free (rs);
r_io_free (io);
ro->io = NULL;
rafind_options_fini (ro);
return result;
}