mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed memory leaks in flow_gl
This commit is contained in:
parent
33e7dcf1e4
commit
58fb358346
@ -1269,6 +1269,8 @@ void YACReaderComicFlowGL::updateImageData()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete[] indexes;
|
||||||
}
|
}
|
||||||
|
|
||||||
void YACReaderComicFlowGL::remove(int item)
|
void YACReaderComicFlowGL::remove(int item)
|
||||||
@ -1405,6 +1407,8 @@ void YACReaderPageFlowGL::updateImageData()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete[] indexes;
|
||||||
}
|
}
|
||||||
|
|
||||||
void YACReaderPageFlowGL::populate(int n)
|
void YACReaderPageFlowGL::populate(int n)
|
||||||
|
@ -1243,6 +1243,7 @@ void YACReaderComicFlowGL::updateImageData()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
delete[] indexes;
|
||||||
}
|
}
|
||||||
|
|
||||||
void YACReaderComicFlowGL::remove(int item)
|
void YACReaderComicFlowGL::remove(int item)
|
||||||
@ -1369,6 +1370,7 @@ void YACReaderPageFlowGL::updateImageData()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
delete[] indexes;
|
||||||
}
|
}
|
||||||
|
|
||||||
void YACReaderPageFlowGL::populate(int n)
|
void YACReaderPageFlowGL::populate(int n)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user