drm/ttm: Fix memory leak in ttm_agp_backend.c
authorMasanari Iida <standby24x7@gmail.com>
Wed, 12 Feb 2014 13:46:25 +0000 (22:46 +0900)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 18 Feb 2014 13:03:32 +0000 (14:03 +0100)
commit7a444d1f0b557c68f847050b33713ae7b56f25e7
treef09ed2d32626920e4b42e9926317034895b420ae
parent728a0cdf065b9f42d1ff25d94858f824bb0989ba
drm/ttm: Fix memory leak in ttm_agp_backend.c

This patch fix a memory leak found by cppcheck.
[drivers/gpu/drm/ttm/ttm_agp_backend.c:129]:
(error) Memory leak: agp_be

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/ttm/ttm_agp_backend.c