aboutsummaryrefslogtreecommitdiffstats
path: root/src/songvec.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-28 00:36:03 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-28 19:38:37 -0700
commit9c4f0d3a6e36f8901e3a85be6269b9ec652b8eea (patch)
tree11ca48cde39b1328164029e9a207d02364c82ecf /src/songvec.c
parentb6b3ceb7dd0cd35ed8f45b997a77e0dccfc6839a (diff)
downloadmpd-9c4f0d3a6e36f8901e3a85be6269b9ec652b8eea.tar.gz
mpd-9c4f0d3a6e36f8901e3a85be6269b9ec652b8eea.tar.xz
mpd-9c4f0d3a6e36f8901e3a85be6269b9ec652b8eea.zip
songvec_free => songvec_destroy
"free" implies the songvec structure itself is freed, which is not the case.
Diffstat (limited to '')
-rw-r--r--src/songvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/songvec.c b/src/songvec.c
index 842e7afcd..7ce1285f6 100644
--- a/src/songvec.c
+++ b/src/songvec.c
@@ -59,7 +59,7 @@ void songvec_add(struct songvec *sv, Song *add)
sv->base[sv->nr - 1] = add;
}
-void songvec_free(struct songvec *sv)
+void songvec_destroy(struct songvec *sv)
{
if (sv->base) {
free(sv->base);