gpu: ion: Fix bug in ion_free

Change-Id: I9e92ed750c5cd5d0329ce1747e419c908e0f37ef
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
This commit is contained in:
Rebecca Schultz Zavin 2012-08-29 10:30:08 -07:00 committed by Arve Hjønnevåg
parent 3122d079e3
commit bc37db4e3d

View File

@ -406,6 +406,7 @@ void ion_free(struct ion_client *client, struct ion_handle *handle)
if (!valid_handle) {
WARN(1, "%s: invalid handle passed to free.\n", __func__);
mutex_unlock(&client->lock);
return;
}
ion_handle_put(handle);