SWDEV-485866 - Return OOM if stream creation fails due to insufficient memory.
Change-Id: I4e57ecc81921bde274bb6a4e0890f0fc6a17955a
Tá an tiomantas seo le fáil i:
tiomanta ag
Jaydeepkumar Patel
tuismitheoir
b977101893
tiomantas
5ccc140e1b
@@ -75,6 +75,7 @@ bool Stream::Create() {
|
||||
void Stream::Destroy(hip::Stream* stream) {
|
||||
stream->device_->RemoveStream(stream);
|
||||
stream->release();
|
||||
stream = nullptr;
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir