SWDEV-485866 - Return OOM if stream creation fails due to insufficient memory.

Change-Id: I4e57ecc81921bde274bb6a4e0890f0fc6a17955a
Tá an tiomantas seo le fáil i:
Jaydeep Patel
2024-09-19 06:59:43 +00:00
tiomanta ag Jaydeepkumar Patel
tuismitheoir b977101893
tiomantas 5ccc140e1b
D'athraigh 4 comhad le 11 breiseanna agus 3 scriosta
+1
Féach ar an gComhad
@@ -75,6 +75,7 @@ bool Stream::Create() {
void Stream::Destroy(hip::Stream* stream) {
stream->device_->RemoveStream(stream);
stream->release();
stream = nullptr;
}
// ================================================================================================