Commit 618413e1 authored by Panagiotis Vasilikos's avatar Panagiotis Vasilikos
Browse files

Resource leak in persist_read.c



Reason: In lines 435 and 439, the function returns without calling closing
fptr which was opened at line 399.

Fix: I added fclose(fptr) statements before each of the returns.
Signed-off-by: default avatarPanagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
parent adb6f3a3
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