]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mood.c
Make mp3_get_file_info() static.
[paraslash.git] / mood.c
diff --git a/mood.c b/mood.c
index 590a68fb4d6e0ad3dedfd9efd6683bf69a7d9ec1..aa220f1e5d53b230b7fc03ef08060828b854fe72 100644 (file)
--- a/mood.c
+++ b/mood.c
@@ -266,6 +266,7 @@ static int add_item_score(const struct osl_row *row, struct mood_item *item, lon
                ret = get_afhi_of_row(row, &afhi);
                if (ret< 0)
                        return ret;
                ret = get_afhi_of_row(row, &afhi);
                if (ret< 0)
                        return ret;
+               free(afhi.info_string); /* don't need the tag info */
                ret = get_audio_file_path_of_row(row, &path);
                if (ret< 0)
                        return ret;
                ret = get_audio_file_path_of_row(row, &path);
                if (ret< 0)
                        return ret;
@@ -561,8 +562,8 @@ out:
 /**
  * Check all moods for syntax errors.
  *
 /**
  * Check all moods for syntax errors.
  *
+ * \param fd The afs socket.
  * \param query Unused.
  * \param query Unused.
- * \param result: Contains check messages.
  */
 void mood_check_callback(int fd, __a_unused const struct osl_object *query)
 {
  */
 void mood_check_callback(int fd, __a_unused const struct osl_object *query)
 {