OSDN Git Service

drm: fix missing reference counting decrease
authorInsu Yun <wuninsu@gmail.com>
Mon, 1 Feb 2016 16:08:29 +0000 (11:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:22 +0000 (15:07 -0800)
commitde2e68f48bc441cb59b7190b2f53793359ce220c
treec1bda898552a4ca4af0f09abb00f85d2c73e39e5
parentbd4419f7ee1978a1dba107a0f112b797b024ce1d
drm: fix missing reference counting decrease

commit dabe19540af9e563d526113bb102e1b9b9fa73f9 upstream.

In drm_dp_mst_allocate_vcpi, it returns true in two paths,
but in one path, there is no reference couting decrease.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_dp_mst_topology.c