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>
Tue, 11 Sep 2012 11:02:43 +0000 (11:02 +0000)
commit00cbc359943a9b6133b26acee4b9f2e1fa00dcf6
tree749d2e87e6ed8e78cd47b08e2f1ec00ba200e7f3
parentb919f46eac1294c57a42a3ff701591f8efbbb210
drm: do not dereference a NULL pointer

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