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

Commit 7203e74d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Fix use of uninitialized memory"

parents 5e23d10b 504cc773
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -523,7 +523,7 @@ static ssize_t profile_assignments_read(struct file *filep,
		return 0;
	}

	buf = kmalloc(max_size, GFP_KERNEL);
	buf = kzalloc(max_size, GFP_KERNEL);
	if (!buf) {
		mutex_unlock(&device->mutex);
		return -ENOMEM;