SWDEV-333237 - Release command before queing a marker

Change-Id: I5343c4b7ade2dc68efa7454a919a6657726c45d3
Tento commit je obsažen v:
Saleel Kudchadker
2022-04-21 15:57:44 -07:00
rodič 15f1632dfa
revize ddfd919a62
+4
Zobrazit soubor
@@ -113,7 +113,11 @@ void HostQueue::finish() {
return;
}
}
if (nullptr == command || !isCacheFlushed) {
if (nullptr != command) {
command->release();
}
// Send a finish to make sure we finished all commands
command = new Marker(*this, false);
if (command == NULL) {