diff options
author | 2016-11-14 14:03:59 +1100 | |
---|---|---|
committer | 2016-11-14 07:45:16 +0100 | |
commit | 554dd692afd5d449168b5007841742db4a2ed17b (patch) | |
tree | 0f2c05c8c029df52fc23ec2ac3288aeccc96e0b7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/sun4i: constify component_ops structures (diff) | |
download | linux-dev-554dd692afd5d449168b5007841742db4a2ed17b.tar.xz linux-dev-554dd692afd5d449168b5007841742db4a2ed17b.zip |
drm/ast: free correct pointer in astfb_create() error paths
In the err_free_vram and err_release_fbi error paths in astfb_create(), we
attempt to free afbdev->sysram. The only jumps to these error paths occur
before we assign afbdev->sysram = sysram. Free sysram instead.
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161114030359.27852-1-andrew.donnellan@au1.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions