diff options
Diffstat (limited to 'xlators/nfs/server/src/netgroups.c')
-rw-r--r-- | xlators/nfs/server/src/netgroups.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/netgroups.c b/xlators/nfs/server/src/netgroups.c index c605ca2664c..f5c966948f7 100644 --- a/xlators/nfs/server/src/netgroups.c +++ b/xlators/nfs/server/src/netgroups.c @@ -1122,7 +1122,8 @@ ng_file_parse (const char *filepath) } } - GF_FREE (line); + /* line got allocated through getline(), don't use GF_FREE() for it */ + free (line); if (fp) fclose(fp); |