Skip to content

Commit

Permalink
gpod-ls: memleak and undef free
Browse files Browse the repository at this point in the history
  • Loading branch information
whatdoineed2do/Ray committed Apr 7, 2021
1 parent 8509508 commit af35308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpod-ls.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ bool db_add_track(sqlite3 *hdl_, const Itdb_Track* track_)
" %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d" \
" );"

char* err;
char* err = NULL;
char* query = sqlite3_mprintf(QADD_TMPL,
track_->id, track_->ipod_path, track_->mediatype,
track_->title, track_->artist, track_->album, track_->genre, track_->filetype, track_->composer, track_->grouping, track_->albumartist, track_->sort_artist, track_->sort_title, track_->sort_album, track_->sort_albumartist, track_->sort_composer,
Expand Down

0 comments on commit af35308

Please sign in to comment.