Message ID | 1322742439-2171-9-git-send-email-jim@meyering.net |
---|---|
State | Superseded |
Headers | show |
diff --git a/src/fedfsd/svc.c b/src/fedfsd/svc.c index 12940c7..3b08272 100644 --- a/src/fedfsd/svc.c +++ b/src/fedfsd/svc.c @@ -377,10 +377,8 @@ fedfsd_pathwalk(const FedFsPathName fpath, char **pathname) tmp = nsdb_normalize_path(result); free(result); - if (tmp == NULL) { - free(result); + if (tmp == NULL) return FEDFS_ERR_SVRFAULT; - } retval = fedfsd_pathwalk_check_term(tmp); switch (retval) {