[patch] Kill some memory eaters
From: Ben Collins <bcollins_at_debian.org>
Date: 2002-03-07 22:23:33 CET
Here's a few memory leakers I found while searching through apr pool
* libsvn_fs/tree.c:
(open_path): If svn_fs__dag_open returns an SVN_ERR_FS_NOT_FOUND
* libsvn_wc/entries.c:
Based on a patch from Kevin Pilch-Bisson.
(svn_wc_entry): Use a subpool for all allocations and destroy it.
(svn_wc__entry_dup): Check for a NULL entry to dup, and return NULL
* libsvn_wc/adm_ops.c:
(process_committed): We don't use the error returned by
* libsvn_wc/adm_files.c:
(check_adm_exists): In the case where we don't use the error from
* libsvn_wc/update_editor.c:
(apply_textdelta): In the case where we don't use the error from
(svn_wc_is_wc_root): Since we don't use the error return from
* libsvn_wc/questions.c:
(svn_wc_check_wc): Since we don't use the error return from
* libsvn_client/commit.c:
(send_to_repos): Create and use a subpool for everything except the
(svn_client_commit): Create and use a subpool for everything except
-- .----------=======-=-======-=========-----------=====------------=-=-----. / Ben Collins -- Debian GNU/Linux -- WatchGuard.com \ ` bcollins@debian.org -- Ben.Collins@watchguard.com ' `---=========------=======-------------=-=-----=-===-======-------=--=---'
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.