* fhandler_netdrive.cc (fhandler_netdrive::readdir): Remove useless

alloca.
This commit is contained in:
Corinna Vinschen
2009-07-15 14:31:51 +00:00
parent b31ca33dcc
commit f84aaff222
2 changed files with 5 additions and 1 deletions

View File

@@ -221,7 +221,6 @@ fhandler_netdrive::readdir (DIR *dir, dirent *de)
nr.lpRemoteName = namebuf;
nr.dwType = RESOURCETYPE_DISK;
nro = (NETRESOURCE *) alloca (4096);
nh = (struct net_hdls *) ccalloc (HEAP_FHANDLER, 1, sizeof *nh);
ret = create_thread_and_wait (len == 2 ? GET_RESOURCE_OPENENUMTOP
: GET_RESOURCE_OPENENUM,