| Submitter | Chuck Lever |
|---|---|
| Date | Dec. 5, 2011, 5:24 p.m. |
| Message ID | <20111205172421.7753.66614.stgit@degas.1015granger.net> |
| Download | mbox | patch |
| Permalink | /patch/129382/ |
| State | Accepted |
| Headers | show |
Comments
Patch
diff --git a/src/fedfsd/svc.c b/src/fedfsd/svc.c index 8ba6468..2772064 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) {