Package: gnulib
Version: 20091120+stable-1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

during build of coreutils-8.1:

at-func2.c: In function 'at_func2':
at-func2.c:113: warning: attempt to free a non-heap object 'proc_buf1'

IMO, the right fix is

--- lib/at-func2.c
+++ lib/at-func2.c
@@ -110,7 +110,7 @@
               }
           }
         else if (proc_file1 != proc_buf1 && proc_file1 != file1)
-          free (proc_buf1);
+          free (proc_file1);
       }
   }



Petr




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to