]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - intl/printf-parse.c
e2fsck: don't try to rehash a deleted directory
[thirdparty/e2fsprogs.git] / intl / printf-parse.c
index d19f903d72c8fe94daa2b636a4151e422b891eeb..5550a53ec9f9cd100d36129cee2c190ec7960ee5 100644 (file)
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Library General Public
    License along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
    USA.  */
 
 #ifdef HAVE_CONFIG_H
@@ -524,10 +524,8 @@ PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a)
   return 0;
 
 error:
-  if (a->arg)
-    free (a->arg);
-  if (d->dir)
-    free (d->dir);
+  free (a->arg);
+  free (d->dir);
   return -1;
 }