Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0975dc20 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Fix ref counting error for syncsource object"

parents 652a5b3e 2b8648c6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -734,6 +734,7 @@ long kgsl_ioctl_syncsource_create_fence(struct kgsl_device_private *dev_priv,
			fput(sync_file->file);
		else if (sfence)
			fence_put(&sfence->fence);
		else
			kgsl_syncsource_put(syncsource);
	}