glmemory: Use g_try_malloc() in the appropriate places
authorSebastian Dröge <sebastian@centricular.com>
Thu, 27 Nov 2014 17:04:58 +0000 (18:04 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:50 +0000 (19:31 +0000)
commit47a82423999ba5222dba8ed6100761677b4487f6
tree07e84fcfd10754d50f792c9dfc473eb631224587
parent45db2931c82624fbcaad63d7e52e371570889767
glmemory: Use g_try_malloc() in the appropriate places

g_malloc() aborts if allocation fails, it's pointless to check against NULL
afterwards. That's why g_try_malloc() exists.
gst-libs/gst/gl/gstglmemory.c