video: tegra: host: Fix resource leak
authorJuha Tukkinen <jtukkinen@nvidia.com>
Tue, 6 Nov 2012 11:18:05 +0000 (13:18 +0200)
committerSimone Willett <swillett@nvidia.com>
Fri, 9 Nov 2012 20:51:45 +0000 (12:51 -0800)
commitcb2257aab624ce28d7bb9cca523877ba7937ba50
treef4e9fd8473216c7a91268b48e7264fbbc8581ce4
parentbf9e6c4d0bd0fbc6ebcdb2bcc5bbf1f788c8fe60
video: tegra: host: Fix resource leak

Free fw_name before exiting msenc_get_fw_name on failure.

Change-Id: I9b7917103657df3adf61887f28cc88372327c387
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/161598
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/msenc/msenc.c