diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-29 12:17:13 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-29 12:17:13 +0200 |
commit | 6075119f0ae9b20c89f31b496918cc6508f16a48 (patch) | |
tree | afb2d907af865936efc0b219b7c245118775e124 /src/songvec.c | |
parent | 5ec578119f5a62a1ca7fbf8e6c429a73ecbda3b3 (diff) | |
download | mpd-6075119f0ae9b20c89f31b496918cc6508f16a48.tar.gz mpd-6075119f0ae9b20c89f31b496918cc6508f16a48.tar.xz mpd-6075119f0ae9b20c89f31b496918cc6508f16a48.zip |
songvec_free => songvec_destroy
"free" implies the songvec structure itself is freed,
which is not the case.
Diffstat (limited to 'src/songvec.c')
-rw-r--r-- | src/songvec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/songvec.c b/src/songvec.c index 3d0eaa02f..578766bcc 100644 --- a/src/songvec.c +++ b/src/songvec.c @@ -58,7 +58,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); |