summaryrefslogtreecommitdiffstats
path: root/ini
diff options
context:
space:
mode:
Diffstat (limited to 'ini')
-rw-r--r--ini/ini_valueobj_ut.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ini/ini_valueobj_ut.c b/ini/ini_valueobj_ut.c
index f9ca882..767a64c 100644
--- a/ini/ini_valueobj_ut.c
+++ b/ini/ini_valueobj_ut.c
@@ -532,6 +532,7 @@ int vo_copy_test(void)
if (error) {
printf("Failed to save value to file %d.\n", error);
value_destroy(vo);
+ fclose(ff);
return error;
}
@@ -601,6 +602,7 @@ int vo_copy_test(void)
}
value_destroy(vo);
+ fclose(ff);
TRACE_FLOW_EXIT();
return EOK;
}