mirror of https://github.com/PCSX2/pcsx2.git
pcsx2:linux: leaking allocation isn't necessary
This commit is contained in:
parent
8b91aefd49
commit
3c0a97354c
|
@ -66,7 +66,7 @@ int FlatFileReader::FinishRead(void)
|
|||
|
||||
int min_nr = 1;
|
||||
int max_nr = 1;
|
||||
struct io_event* events = new io_event[max_nr];
|
||||
struct io_event events[max_nr];
|
||||
|
||||
int event = io_getevents(m_aio_context, min_nr, max_nr, events, NULL);
|
||||
if (event < 1) {
|
||||
|
|
Loading…
Reference in New Issue