Imported Upstream version 2.8.4
[platform/upstream/man-db.git] / src / manp.c
index 7b880bc..fcbaaec 100644 (file)
@@ -626,8 +626,7 @@ static char *add_system_manpath (const char *systems, const char *manpathlist)
                                /* reset newdir */
                                *newdir = '\0';
                        }
-                       if (newdir)
-                               free (newdir);
+                       free (newdir);
                } else
                        manpath = pathappend (manpath, manpathlist);
        }