hush - memory leak?
Piotr Grudzinski
piotr at powersmiths.com
Wed Dec 29 14:37:37 UTC 2010
>
> Can you compile the following test program:
>
> #include <sys/types.h>
> #include <unistd.h>
> int main(int argc, char **argv)
> {
> while (1) {
> write(1, ".", 1);
> execv("/proc/self/exe", argv);
> }
> return 0;
> }
>
> via "gcc -Wall testprog.c", run it and report whether you see
> free memory disappearing?
>
> --
> vda
NO. The memory is NOT disappearing.
--
Piotr
More information about the busybox
mailing list