Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Commit

Permalink
Merge pull request #154 from megabytefisher/master
Browse files Browse the repository at this point in the history
Fix memory leak in setImage(Bitmap bmp)
  • Loading branch information
rmtheis authored Jun 16, 2016
2 parents a973dfe + 0ef708b commit 5489609
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ public void setImage(Bitmap bmp) {
}

nativeSetImagePix(image.getNativePix());

image.recycle();
}

/**
Expand Down

0 comments on commit 5489609

Please sign in to comment.