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

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

Merge "diag: Free the mask update client buf in exit case"

parents b329ab1f 24f80a1b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2545,6 +2545,8 @@ static void __diag_mask_exit(struct diag_mask_info *mask_info)
	mask_info->ptr = NULL;
	kfree(mask_info->update_buf);
	mask_info->update_buf = NULL;
	kfree(mask_info->update_buf_client);
	mask_info->update_buf_client = NULL;
	mutex_unlock(&mask_info->lock);
}