Skip to content

Commit

Permalink
Fix mem leak
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Mar 30, 2018
1 parent 5821a3a commit ff8d36d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,7 @@ void Profile::ImportScoresToEtterna() {
imean->SetSongDir(sdir2);
id = SongID();
id.FromSong(imean);
delete imean;
}

if (id.IsValid() && sid.IsValid()) {
Expand Down

0 comments on commit ff8d36d

Please sign in to comment.