summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2010-01-24 22:11:25 +0100
committerGuillem Jover <guillem@debian.org>2010-01-28 20:58:05 +0100
commite10b57f16269e731c7309a9df4797089f83522c8 (patch)
treebf1e19c51aaa3d1cb0ecf9976827ff90876bf3ec /dselect
parentc6520d670008b8af1e79726e690ec35435e8672c (diff)
downloaddpkg-e10b57f16269e731c7309a9df4797089f83522c8.tar.gz
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.
Diffstat (limited to 'dselect')
-rw-r--r--dselect/pkglist.cc2
1 files changed, 1 insertions, 1 deletions
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();
}
}