commit | be1baa7ec9b31849c2169f627b3b65cd19ef0af0 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Thu Nov 18 12:23:37 2010 -0800 |
committer | Android Code Review <code-review@android.com> | Thu Nov 18 12:23:37 2010 -0800 |
tree | dcf3e4653b8d4cf95d4b55755d87bec1b2a2fa5a | |
parent | 8d61723fea0a5cdcd08e34325123fbd3e0bd41ae [diff] | |
parent | eb7bd1066e19b5ef048fda5f756c4bb0bc891f30 [diff] |
Merge "Fixed memory leak in function getThumbnail."
diff --git a/main.c b/main.c index 1b1eabd..ab820e3 100644 --- a/main.c +++ b/main.c
@@ -458,6 +458,7 @@ LOGE("thumbnail size %d\n", ImageInfo.ThumbnailSize); #endif (*env)->ReleaseStringUTFChars(env, jfilename, filename); + DiscardData(); return byteArray; } noThumbnail: