summaryrefslogtreecommitdiffstats
path: root/extras/geo-rep/gsync-sync-gfid.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/geo-rep/gsync-sync-gfid.c')
-rw-r--r--extras/geo-rep/gsync-sync-gfid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/geo-rep/gsync-sync-gfid.c b/extras/geo-rep/gsync-sync-gfid.c
index 953eb535132..e9b9e633402 100644
--- a/extras/geo-rep/gsync-sync-gfid.c
+++ b/extras/geo-rep/gsync-sync-gfid.c
@@ -102,6 +102,8 @@ main (int argc, char *argv[])
ret = 0;
out:
+ if (fp)
+ fclose(fp);
return ret;
}