[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Release memory aquired with ruby_xmalloc with ruby_xfree

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-01-03 02:35:56 CET

Hi All,

I found this when I tried to run a debug build. Not sure how
important it is, but it seems like a good idea.

[[[
* subversion/bindings/swig/core.i
  Release memory aquired with ruby_xmalloc with ruby_xfree.
]]]

Index: subversion/bindings/swig/core.i
===================================================================
--- subversion/bindings/swig/core.i (revision 22877)
+++ subversion/bindings/swig/core.i (working copy)
@@ -691,7 +691,7 @@

   ~apr_pool_wrapper_t() {
     apr_pool_wrapper_destroy(self);
- free(self);
+ xfree(self);
   }
 };

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 3 02:36:03 2007

This is an archived mail posted to the Subversion Dev mailing list.