------------------------------------------------------------
revno: 112
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 22:49:37 +1000
message:
  fixed a fd bug (thanks volker)
modified:
  tests/lockwait.c               lockwait.c-20070416055753-3ztnb4cxqgamfudx-1
=== modified file 'tests/lockwait.c'
--- a/tests/lockwait.c  2007-04-16 06:01:37 +0000
+++ b/tests/lockwait.c  2007-04-16 12:49:37 +0000
@@ -42,6 +42,7 @@
        void (*callback)(void *) = h->callback;
        void *p = h->private_data;
        talloc_set_destructor(h, NULL);
+       close(h->fd[0]);
        talloc_free(h); 
        callback(p);
        waitpid(h->child, NULL, 0);

Reply via email to