mountbroker : fix coverity issue in glusterd-mountbroker.c
Fixes CID : 1124789 updates: bz#789278 Change-Id: I61c70f05e6377d7ddc8961556274714dd356a117 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
This commit is contained in:
parent
767109f5cf
commit
4d1ea415f5
@ -738,7 +738,10 @@ glusterd_do_mount (char *label, dict_t *argdict, char **path, int *op_errno)
|
||||
*path = cookie;
|
||||
}
|
||||
|
||||
GF_FREE (mtptemp);
|
||||
if (mtptemp)
|
||||
GF_FREE (mtptemp);
|
||||
if (mntlink)
|
||||
GF_FREE (mntlink);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user