summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/cmd_parser.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2018-06-07 12:06:07 +0300
committerJani Nikula <jani.nikula@intel.com>2018-06-07 12:06:07 +0300
commit807cba6559cf333a74df1fbd74f0597e8e7fa020 (patch)
treeb5f5260dd10caa3a9870b97ee4b86bda57d87d66 /drivers/gpu/drm/i915/gvt/cmd_parser.c
parent197af5f2131101f9a6118b238901cb1988f5d7f9 (diff)
parent39b4cbadb9a95bf3f13ea102d6ec841940916ee2 (diff)
downloadlinux-807cba6559cf333a74df1fbd74f0597e8e7fa020.tar.xz
Merge tag 'gvt-fixes-2018-04-19' of https://github.com/intel/gvt-linux into drm-intel-next-fixes
gvt-fixes-2018-04-19 - cmd parser error path mem leak fix (Colin) - fix dp aux header validation (Changbin) - sanity check on pfn after vfio pin page (Changbin) - fix msi eventfd put (Xiong) Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180419073948.4mojv7xaxxvfuyud@zhen-hp.sh.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/cmd_parser.c')
-rw-r--r--drivers/gpu/drm/i915/gvt/cmd_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/cmd_parser.c b/drivers/gpu/drm/i915/gvt/cmd_parser.c
index 718ca08f9575..b51c05d03f14 100644
--- a/drivers/gpu/drm/i915/gvt/cmd_parser.c
+++ b/drivers/gpu/drm/i915/gvt/cmd_parser.c
@@ -2909,6 +2909,7 @@ static int init_cmd_table(struct intel_gvt *gvt)
if (info) {
gvt_err("%s %s duplicated\n", e->info->name,
info->name);
+ kfree(e);
return -EEXIST;
}