diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2016-03-03 17:23:48 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-03-08 19:01:54 +0300 |
commit | 720a6ce3cedf664834df436c343ea2ccc26272fa (patch) | |
tree | 0901ca3b80e1e26e7a4ed1753e17f26da792a51c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 98822a2f748cf400a1fa08eabd0ccf6baa146a92 (diff) | |
download | linux-720a6ce3cedf664834df436c343ea2ccc26272fa.tar.xz |
drm/amd/amdgpu: Make afmt_init cleanup if alloc fails (DCEv10)
Make the function free memory and return an error code if the allocation
fails.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions