aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-07-15 10:39:47 +0200
committerDave Airlie <[email protected]>2010-07-20 15:24:09 +1000
commit772a2f9b488f4d27c314da5eeabde750b9ead41b (patch)
tree2cb96edb617d659b26cad8c603d664cfa0cd1373 /tools/perf/util/trace-event-scripting.c
parentbbb642f9c9a43dbe45ffe14935397a2a34100263 (diff)
fb: handle allocation failure in alloc_apertures()
If the kzalloc() fails we should return NULL. All the places that call alloc_apertures() check for this already. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: James Simmons <[email protected]> Acked-by: Marcin Slusarz <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions