mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Fix memory leaks
This commit is contained in:
@ -308,5 +308,7 @@ void FolderController::service(HttpRequest &request, HttpResponse &response)
|
||||
t.setVariable("page", QString("%1").arg(page + 1));
|
||||
t.setVariable("pages", QString("%1").arg(numPages));
|
||||
|
||||
qDeleteAll(folderContent);
|
||||
|
||||
response.write(t.toUtf8(), true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user