aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/locate.c7
-rw-r--r--src/locate.h4
2 files changed, 0 insertions, 11 deletions
diff --git a/src/locate.c b/src/locate.c
index 9645da9cd..d4b902538 100644
--- a/src/locate.c
+++ b/src/locate.c
@@ -115,13 +115,6 @@ locate_item_list_casefold(const struct locate_item_list *list)
return new_list;
}
-void
-locate_item_free(struct locate_item *item)
-{
- g_free(item->needle);
- g_free(item);
-}
-
static bool
locate_tag_search(const struct song *song, enum tag_type type, const char *str)
{
diff --git a/src/locate.h b/src/locate.h
index ec20ded24..9ebb2c4ae 100644
--- a/src/locate.h
+++ b/src/locate.h
@@ -75,10 +75,6 @@ gcc_nonnull(1)
void
locate_item_list_free(struct locate_item_list *list);
-gcc_nonnull(1)
-void
-locate_item_free(struct locate_item *item);
-
gcc_nonnull(1,2)
bool
locate_song_search(const struct song *song,