From 3d03979dc101612e806cdf0b011475d9fa685a73 Mon Sep 17 00:00:00 2001
From: Peter Hillman <peterh@wetafx.co.nz>
Date: Tue, 19 May 2020 16:09:21 +1200
Subject: [PATCH] fix #728 - missing 'throw' in deepscanline error handling

--- openexr-2.2.1.orig/IlmImf/ImfDeepScanLineInputFile.cpp
+++ openexr-2.2.1/IlmImf/ImfDeepScanLineInputFile.cpp
@@ -1049,6 +1049,8 @@ DeepScanLineInputFile::DeepScanLineInput
             delete _data->_streamData;
         }
         if (_data)       delete _data;
+
+        throw;
    }
 
     readLineOffsets (*_data->_streamData->is,
