You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2001/12/13 22:16:52 UTC

cvs commit: xml-xerces/c/src/util/NetAccessors/WinSock BinHTTPURLInputStream.cpp

peiyongz    01/12/13 13:16:52

  Modified:    c/src/util/NetAccessors/WinSock BinHTTPURLInputStream.cpp
  Log:
  Fix: Invalid Argument to FreeLibrary (Hint: 0x0000000)
  
  Revision  Changes    Path
  1.12      +5 -1      xml-xerces/c/src/util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp
  
  Index: BinHTTPURLInputStream.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- BinHTTPURLInputStream.cpp	2001/10/25 16:26:39	1.11
  +++ BinHTTPURLInputStream.cpp	2001/12/13 21:16:52	1.12
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: BinHTTPURLInputStream.cpp,v $
  + * Revision 1.12  2001/12/13 21:16:52  peiyongz
  + * Fix: Invalid Argument to FreeLibrary (Hint: 0x0000000)
  + *
    * Revision 1.11  2001/10/25 16:26:39  tng
    * [Bug 4213] BinHTTPURLInputStream initialisation not thread safe.  By Mark Weaver.
    *
  @@ -202,6 +205,7 @@
   	{
   		if(gWSACleanup) (*gWSACleanup)();
   		gWSACleanup = NULL;
  +		FreeLibrary(gWinsockLib);
   		gWinsockLib = NULL;
   		gWSgethostbyname = NULL;
   		gWSinet_addr = NULL;
  @@ -213,7 +217,7 @@
   		gWSrecv = NULL;
   		gWSshutdown = NULL;
   		gWSclosesocket = NULL;
  -		FreeLibrary(gWinsockLib);
  +
         fInitialized = false;
         delete fInitMutex;
         fInitMutex = 0;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org