aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorAleksei Gimbitskii <[email protected]>2019-05-02 12:59:22 +0300
committerZhenyu Wang <[email protected]>2019-05-30 17:21:57 +0800
commit0b32e1974969bfe09ef0f15338785b2cfde91893 (patch)
tree1e46ab47c568187bede5917b3770301a14f99e09 /scripts/gdb/linux/config.py
parent27348cc9c8ec5588cd5fd66250cf846e35c25055 (diff)
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 <[email protected]> Signed-off-by: Aleksei Gimbitskii <[email protected]> Cc: Zhenyu Wang <[email protected]> Cc: Zhi Wang <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions