We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9376b03 commit 99fedcbCopy full SHA for 99fedcb
ompi/mca/fs/base/fs_base_get_parent_dir.c
@@ -10,7 +10,7 @@
10
* Copyright (c) 2004-2005 The Regents of the University of California.
11
* All rights reserved.
12
* Copyright (c) 2008-2016 University of Houston. All rights reserved.
13
- * Copyright (c) 2015 Research Organization for Information Science
+ * Copyright (c) 2015-2016 Research Organization for Information Science
14
* and Technology (RIST). All rights reserved.
15
* $COPYRIGHT$
16
*
@@ -106,6 +106,7 @@ int mca_fs_base_get_fstype(char *fname )
106
char *dir;
107
mca_fs_base_get_parent_dir (fname, &dir );
108
ret = opal_path_nfs (dir, &fstype);
109
+ free(dir);
110
if ( false == ret ) {
111
return ompio_type;
112
}
0 commit comments