pcsx2:linux: leaking allocation isn't necessary

This commit is contained in:
Gregory Hainaut 2016-07-19 19:00:02 +02:00
parent 8b91aefd49
commit 3c0a97354c
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ int FlatFileReader::FinishRead(void)
int min_nr = 1; int min_nr = 1;
int max_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); int event = io_getevents(m_aio_context, min_nr, max_nr, events, NULL);
if (event < 1) { if (event < 1) {