Skip to content

Commit

Permalink
song: fix pointer/bool mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Dec 21, 2023
1 parent 4418f26 commit d4045f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/song.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ mpd_song_add_tag(struct mpd_song *song,
prev = tag;
tag = malloc(sizeof(*tag));
if (tag == NULL)
return NULL;
return false;

tag->value = strdup(value);
if (tag->value == NULL) {
Expand Down

0 comments on commit d4045f4

Please sign in to comment.