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

Commit 72cb0d89 authored by Eric Anholt's avatar Eric Anholt Committed by Maarten Lankhorst
Browse files

drm/vc4: Fix leak of the file_priv that stored the perfmon.

parent 7f6df440
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -130,6 +130,7 @@ static void vc4_close(struct drm_device *dev, struct drm_file *file)
	struct vc4_file *vc4file = file->driver_priv;

	vc4_perfmon_close_file(vc4file);
	kfree(vc4file);
}

static const struct vm_operations_struct vc4_vm_ops = {