]> git.evergreen-ils.org Git - OpenSRF.git/commit
Patch from Scott McKellar:
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Jan 2008 01:56:28 +0000 (01:56 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Jan 2008 01:56:28 +0000 (01:56 +0000)
commit6e14e2d6142c9e68b4f038f0f8dd330206ae4e8c
tree79daaaa99e4414c8a19905bddc39f40583e1d405
parent67339dfbe27a044134df346e71b177f99c121145
Patch from Scott McKellar:

1. Plugs a memory leak in file_to_string().  If we failed to open the
file, we were returning without freeing the growing_buffer that held
the file name.

2. Replaces a couple of calls to buffer_data() with calls to
buffer_release().

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1195 9efc2488-bf62-4759-914b-345cdb29e865
src/libopensrf/utils.c