Typos.
Changed the timeout of wxSocketBase from 3600s to 600s Added #include <stdio.h> in htmltag.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -63,6 +63,9 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& fs, const wxString& location)
|
||||
"<a href=\"%s-3\">sub-3</a><br>"
|
||||
"</blockquote></body></html>",
|
||||
location.GetData(), location.GetData(), location.GetData(), location.GetData());
|
||||
|
||||
// WARNING: wxMemoryInputStream will not free buf.
|
||||
// There is a memory leak here.
|
||||
str = new wxMemoryInputStream(buf, strlen(buf));
|
||||
f = new wxFSFile(str, location, "text/html", wxEmptyString);
|
||||
return f;
|
||||
|
Reference in New Issue
Block a user