drm: do not dereference a NULL pointer
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 11 Sep 2012 11:02:43 +0000 (11:02 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 19 Sep 2012 14:53:13 +0000 (14:53 +0000)
commit02555b5bb1fdb105c7eae3a25c56a76832631b88
treea2d3329ae9ffd130f8e7ac647a781e1962321e02
parent00cbc359943a9b6133b26acee4b9f2e1fa00dcf6
drm: do not dereference a NULL pointer

If omap_bo_new fails, return NULL early.
gst-libs/gst/drm/gstdrmbufferpool.c