[core] Fixes potential exception slipup on memory allocation error
[core] Fixes potential exception slipup on memory allocation error

ethouris/srt,Cinegy/srt,Haivision/srt,Haivision/srt,Haivision/srt,Cinegy/srt,ethouris/srt,ethouris/srt,Cinegy/srt,Haivision/srt,ethouris/srt,Cinegy/srt