[mpd] Some minor fixup

This commit is contained in:
ejurgensen 2017-10-20 19:49:17 +02:00
parent 64dd6b93da
commit a94fda38cc

View File

@ -2422,7 +2422,6 @@ mpd_get_query_params_find(int argc, char **argv, struct query_params *qp)
else
c2 = db_mprintf("%s", c1);
if (qp->filter)
free(qp->filter);
qp->filter = c2;
@ -3051,7 +3050,6 @@ mpd_get_query_params_search(int argc, char **argv, struct query_params *qp)
else
c2 = db_mprintf("%s", c1);
if (qp->filter)
free(qp->filter);
qp->filter = c2;