diff options
author | Sudip Mukherjee <[email protected]> | 2016-06-12 16:03:56 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-06-13 09:53:09 +0200 |
commit | 2a927623e864f98479c4be3c560ab8fbb0e0283c (patch) | |
tree | 997e1577d9e8d31dec38c1f57dd56a96bd5e567d /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | cc22a86c2652f027edbe0120adb2b523b404cc7b (diff) |
drm: fb: cma: fix memory leak
We may have a situation that the memory allocation for fbdefio fails
and then the allocation for fbops may succeed as some memory has been
freed somewhere. Lets free fbops also to face these rare situtation.
Since kfree can handle arguments as NULL, there should not be any
problem in calling both the kfree().
Signed-off-by: Sudip Mukherjee <[email protected]>
Fixes: 199c77179c87 ("drm/fb-cma-helper: Add fb_deferred_io support")
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions