]> git.ipfire.org Git - thirdparty/libvirt.git/commit
absolutePathFromBaseFile: don't leak when first arg contains no "/"
authorJim Meyering <meyering@redhat.com>
Thu, 4 Feb 2010 15:55:57 +0000 (16:55 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 5 Feb 2010 11:31:55 +0000 (12:31 +0100)
commit53b7dae139f2dd66866aabedca35aa74dad1579d
tree58d3e46af0e1056a98b11fd7889386bb0b1be64f
parenta7e80e6bfd563919bc52cf1985259166f1c191e9
absolutePathFromBaseFile: don't leak when first arg contains no "/"

* src/util/storage_file.c: Include "dirname.h".
(absolutePathFromBaseFile): Rewrite not to leak, and to require
fewer allocations.
* bootstrap (modules): Add dirname-lgpl.
* .gnulib: Update submodule to the latest.
.gnulib
bootstrap
src/util/storage_file.c