commit | 845792d940f5755b7a7837c450a71d9e831a13e2 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jirislaby@gmail.com> | Mon Jul 13 23:20:21 2009 +0200 |
committer | Dave Airlie <airlied@linux.ie> | Wed Jul 15 15:56:12 2009 +1000 |
tree | 92b4aee24f19c6522e17e2b2b026ea1128389c93 | |
parent | d25e3a6faa82eeaa6e5487c2d2e27cfd938ed108 [diff] |
drm: drm_gem, check kzalloc retval Check kzalloc retval against NULL in drm_gem_object_alloc and bail out appropriately. While at it merge the fail paths and jump to them by gotos at the end of the function. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Dave Airlie <airlied@linux.ie>