From 72d4ac23660326e76443cf18f0ed8c2e4792d268 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Jun 2008 16:53:43 +0000 Subject: Updated to fedora-glibc-20080612T1619 --- posix/glob.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'posix') diff --git a/posix/glob.c b/posix/glob.c index b7d9617267..73081ece66 100644 --- a/posix/glob.c +++ b/posix/glob.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2002, 2003, 2004, 2005, 2006, 2007 +/* Copyright (C) 1991-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -1075,8 +1075,7 @@ globfree (pglob) { size_t i; for (i = 0; i < pglob->gl_pathc; ++i) - if (pglob->gl_pathv[pglob->gl_offs + i] != NULL) - free (pglob->gl_pathv[pglob->gl_offs + i]); + free (pglob->gl_pathv[pglob->gl_offs + i]); free (pglob->gl_pathv); pglob->gl_pathv = NULL; } -- cgit v1.2.3