We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a112464 commit c2b3082Copy full SHA for c2b3082
src/xmrwindow.c
@@ -3657,12 +3657,17 @@ str_start_with(const char *str, const char *prefix)
3657
static gboolean
3658
is_track_downloaded(SongInfo *track)
3659
{
3660
+ gboolean retv = FALSE;
3661
gchar *file = make_track_file(track);
3662
if (!file) {
3663
return FALSE;
3664
}
3665
- return is_file_exists(file) && !str_start_with(track->location, "http://");
3666
+ retv = is_file_exists(file) && !str_start_with(track->location, "http://");
3667
+
3668
+ g_free(file);
3669
3670
+ return retv;
3671
3672
3673
0 commit comments