mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 17:50:13 +01:00
pcsx2:linux: leaking allocation isn't necessary
This commit is contained in:
1 parent
8b91aefd49
commit
3c0a97354c
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user