From: Junio C Hamano Date: Wed, 4 Aug 2021 20:28:52 +0000 (-0700) Subject: Merge branch 'ah/plugleaks' X-Git-Tag: v2.33.0-rc1~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31f9acf9ce29ae210b54997f7fb388a2dc543d53;p=thirdparty%2Fgit.git Merge branch 'ah/plugleaks' Leak plugging. * ah/plugleaks: reset: clear_unpack_trees_porcelain to plug leak builtin/rebase: fix options.strategy memory lifecycle builtin/merge: free found_ref when done builtin/mv: free or UNLEAK multiple pointers at end of cmd_mv convert: release strbuf to avoid leak read-cache: call diff_setup_done to avoid leak ref-filter: also free head for ATOM_HEAD to avoid leak diffcore-rename: move old_dir/new_dir definition to plug leak builtin/for-each-repo: remove unnecessary argv copy to plug leak builtin/submodule--helper: release unused strbuf to avoid leak environment: move strbuf into block to plug leak fmt-merge-msg: free newly allocated temporary strings when done --- 31f9acf9ce29ae210b54997f7fb388a2dc543d53