Imported Upstream version 2.8.4
[platform/upstream/man-db.git] / libdb / db_lookup.c
index a59d7a4..140a505 100644 (file)
@@ -142,8 +142,7 @@ void free_mandata_elements (struct mandata *pinfo)
                 * caller; why do we free it here?
                 */
                free (pinfo->addr);             /* free the 'content' */
-       if (pinfo->name)
-               free (pinfo->name);             /* free the real name */
+       free (pinfo->name);                     /* free the real name */
 }
 
 /* Go through the linked list of structures, free()ing the 'content' and the