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:
Panagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
parent
adb6f3a3
Please register or sign in to comment