wininet: Don't allocate memory for the thread error structure until it is needed

Robert Shearman rob at codeweavers.com
Thu Apr 20 05:46:38 CDT 2006


ChangeLog:
Don't allocate memory for the thread error structure until it is needed,
as it is quite large and wastes memory for threads that don't call any
wininet function.

  dlls/wininet/internet.c |   51 
+++++++++++++++++++++++++++++++++--------------
  1 files changed, 36 insertions(+), 15 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 189584eda768f063ed44030e1bf5a603156a6814.diff
Type: text/x-patch
Size: 3037 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060420/b9829ab4/189584eda768f063ed44030e1bf5a603156a6814.diff


More information about the wine-patches mailing list