]> git.saurik.com Git - wxWidgets.git/commitdiff
Forgot to free string after usage.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 21 Jan 2005 11:33:26 +0000 (11:33 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 21 Jan 2005 11:33:26 +0000 (11:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/palmos/utils.cpp

index f0cb433e0eaf3fbef84bd9350d10abb2ac17dd57..5a1398744ba9487181ad443adf69d6b53dfa0974 100644 (file)
@@ -1,11 +1,11 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        palmos/utils.cpp
+// Name:        src/palmos/utils.cpp
 // Purpose:     Various utilities
-// Author:      William Osborne
-// Modified by:
+// Author:      William Osborne - minimal working wxPalmOS port
+// Modified by: Wlodzimierz ABX Skiba - real functionality
 // Created:     10/13/04
-// RCS-ID:      $Id:
-// Copyright:   (c) William Osborne
+// RCS-ID:      $Id$
+// Copyright:   (c) William Osborne, Wlodzimierz Skiba
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -204,6 +204,7 @@ wxString wxGetOsDescription()
     if(version)
     {
         wxString str = wxString::FromAscii(version);
+        MemPtrFree(version);
         if(!str.empty())
         {
             strOS << _(" ") << str;