]> git.evergreen-ils.org Git - Evergreen.git/commit
Plugged some massive memory leaks.
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 31 Mar 2009 13:28:16 +0000 (13:28 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 31 Mar 2009 13:28:16 +0000 (13:28 +0000)
commit68fd616ab0f50e5eb46c8e7684c1bf505cc18d13
tree00336c5bbbb24352389f7a41875b8008d2970925
parentf25015fe04829d031220e3a5dd787f6c52844ca2
Plugged some massive memory leaks.

In one case we were leaking an osrfHash whenever we didn't use it.
I rearranged matters so that we won't create the osrfHash unless
we're going to use it.

The other leaks involved various libxml2 functions that return
allocated strings that need to be freed.  In many of those cases
we had been stdruping the strings and leaking the originals.
Eliminating all those strdups should boost performance a bit,
and reduce the memory footprint.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12729 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_idl-core.c