From e10b57f16269e731c7309a9df4797089f83522c8 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 24 Jan 2010 22:11:25 +0100 Subject: libdpkg: Rename varbuffree to varbuf_destroy The convention is for functions named free to deallocate the contents and the given pointer, while this one only deallocates the contents, so we rename it to make this distinction clear. --- dselect/pkglist.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dselect') diff --git a/dselect/pkglist.cc b/dselect/pkglist.cc index 3051dd563..4c03c69fb 100644 --- a/dselect/pkglist.cc +++ b/dselect/pkglist.cc @@ -459,7 +459,7 @@ void perpackagestate::free(int recursive) { pkg->clientdata= 0; } } - relations.free(); + relations.destroy(); } } -- cgit v1.2.3