* lib/at-func2.c (at_func2): Fix typo.
Reported via Ian Beckwith, from http://bugs.debian.org/561117.
Signed-off-by: Eric Blake <ebb9@byu.net>
+2010-01-06  Petr Salinger  <Petr.Salinger@seznam.cz>  (tiny change)
+
+       linkat, renameat: avoid bad free
+       * lib/at-func2.c (at_func2): Fix typo.
+       Reported via Ian Beckwith, from http://bugs.debian.org/561117.
+
 2010-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        cleanup after gl_FUNC_READLINK, for gl_FUNC_SYMLINK test
 
               }
           }
         else if (proc_file1 != proc_buf1 && proc_file1 != file1)
-          free (proc_buf1);
+          free (proc_file1);
       }
   }