diff options
author | Sunny Kumar <sunkumar@redhat.com> | 2018-10-11 17:36:43 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-10-12 05:48:11 +0000 |
commit | b2e592a4a9beb0ef3f8986e3ff3a630981bcad1f (patch) | |
tree | bb1b2b1f99dce68b6a4d6b5220d4f890429bd204 /xlators | |
parent | 67624335f5d2ca9c8b0c7d1630e7186cb5cdd6d6 (diff) |
snapshot : fix high sev coverity on snapview-server.c
This patch fixes CID 1325525 (double free).
updates: bz#789278
Change-Id: I26a5f428dde83dd7708815f06830decf4068b94c
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/features/snapview-server/src/snapview-server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/snapview-server/src/snapview-server.c b/xlators/features/snapview-server/src/snapview-server.c index 6611af8de5e..6019be62075 100644 --- a/xlators/features/snapview-server/src/snapview-server.c +++ b/xlators/features/snapview-server/src/snapview-server.c @@ -982,6 +982,7 @@ svs_getxattr(call_frame_t *frame, xlator_t *this, loc_t *loc, const char *name, goto out; } GF_FREE(value); + value = NULL; } } |