Package: gnulib
Version: 20091120+stable-1
Severity: important
Tags: patch
User: [email protected]
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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]