summaryrefslogtreecommitdiffstats
path: root/doc/legacy/coding-standard.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/legacy/coding-standard.tex')
-rw-r--r--doc/legacy/coding-standard.tex3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/legacy/coding-standard.tex b/doc/legacy/coding-standard.tex
index abaedb69c3c..30d412a918b 100644
--- a/doc/legacy/coding-standard.tex
+++ b/doc/legacy/coding-standard.tex
@@ -370,8 +370,7 @@ sample_fop (call_frame_t *frame, xlator_t *this, ...)
}
if (pfd) {
- if (pfd->path)
- FREE (pfd->path);
+ FREE (pfd->path);
FREE (pfd);
pfd = NULL;
}