From: Nils Durner Date: Mon, 9 Nov 2009 11:16:38 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~23138 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=162b79c21d0c0e898c5dd471ef50e51f259791aa;p=oweals%2Fgnunet.git fix --- diff --git a/src/util/disk.c b/src/util/disk.c index 5ced6ad17..e280374d3 100644 --- a/src/util/disk.c +++ b/src/util/disk.c @@ -1642,8 +1642,6 @@ GNUNET_DISK_pipe (int blocking) DWORD mode; mode = PIPE_NOWAIT; - p->fd[0] = GNUNET_malloc (sizeof (struct GNUNET_DISK_FileHandle)); - p->fd[1] = GNUNET_malloc (sizeof (struct GNUNET_DISK_FileHandle)); SetNamedPipeHandleState (p->fd[0]->h, &mode, NULL, NULL); SetNamedPipeHandleState (p->fd[1]->h, &mode, NULL, NULL); /* this always fails on Windows 95, so we don't care about error handling */