Commit 31423994 authored by Dinh Nguyen's avatar Dinh Nguyen
Browse files

FogBugz #538499: klockwork: fix potential memory leaks



Fix potential memory leaks in the Stratix10 clock driver by freeing the
struct pointer for error conditions.

Remove 'reg2' variable, which was unused.

Signed-off-by: default avatarDinh Nguyen <dinh.nguyen@intel.com>
parent f625bc56
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment