(1) Denis Pershin's patch for wxGTK (memory leaks corrections)
(2) DELETEP/DELETEA globally renamed to wxDELETE/wxDELETEA and now also NULL their argument git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -123,7 +123,7 @@ wxString wxDataInputStream::ReadString()
|
||||
wx_string = string;
|
||||
delete string;
|
||||
|
||||
return wx_string;
|
||||
return wx_string;
|
||||
}
|
||||
|
||||
wxDataOutputStream::wxDataOutputStream(wxOutputStream& s)
|
||||
@@ -187,7 +187,7 @@ void wxDataOutputStream::WriteDouble(double d)
|
||||
#if USE_APPLE_IEEE
|
||||
ConvertToIeeeExtended(d, (unsigned char *)buf);
|
||||
#else
|
||||
# pragma warning "wxDataStream::WriteDouble() not using IeeeExtended - will not work!"
|
||||
# pragma warning "wxDataStream::WriteDouble() not using IeeeExtended - will not work!"
|
||||
buf[0] = '\0';
|
||||
#endif
|
||||
Write(buf, 10);
|
||||
|
Reference in New Issue
Block a user