summaryrefslogtreecommitdiffstats
path: root/api/src/glfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r--api/src/glfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c
index 6f7b6cde56d..a249534ffef 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -971,6 +971,9 @@ priv_glfs_free_from_ctx (struct glfs *fs)
PTHREAD_MUTEX_DESTROY (&fs->upcall_list_mutex, fs->pthread_flags,
GLFS_INIT_MUTEX_UPCALL);
+ if (fs->oldvolfile)
+ FREE (fs->oldvolfile);
+
FREE (fs->volname);
FREE (fs);