diff options
author | 2019-05-02 12:59:22 +0300 | |
---|---|---|
committer | 2019-05-30 17:21:57 +0800 | |
commit | 0b32e1974969bfe09ef0f15338785b2cfde91893 (patch) | |
tree | 1e46ab47c568187bede5917b3770301a14f99e09 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gvt: Check if cur_pt_type is valid (diff) | |
download | wireguard-linux-0b32e1974969bfe09ef0f15338785b2cfde91893.tar.xz wireguard-linux-0b32e1974969bfe09ef0f15338785b2cfde91893.zip |
drm/i915/gvt: Assign NULL to the pointer after memory free.
The klocwork static code analyzer complains about using pointer after
being freed, because further we pass it to the gvt_vgpu_err() function.
Assign pointer to be NULL intentionaly, to meet requirements of the code
analyzer.
This patch fixed the issue #648 reported as error by klocwork.
Acked-by: Colin Xu <colin.xu@intel.com>
Signed-off-by: Aleksei Gimbitskii <aleksei.gimbitskii@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions