diff options
author | 2015-01-12 23:18:42 -0800 | |
---|---|---|
committer | 2015-01-12 23:18:42 -0800 | |
commit | 7e08733589a278454bd0c16096a68f9eaa1a626b (patch) | |
tree | 341a8a22864dc94e3368e60d7f05c820b9a66406 /src/java/native/com_libmailcore_IMAPQuotaOperation.cpp | |
parent | 6df03450a7057ee74341079df672679ba9663348 (diff) |
Cleanup. Apply autorelease pool properly.
Diffstat (limited to 'src/java/native/com_libmailcore_IMAPQuotaOperation.cpp')
-rw-r--r-- | src/java/native/com_libmailcore_IMAPQuotaOperation.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/java/native/com_libmailcore_IMAPQuotaOperation.cpp b/src/java/native/com_libmailcore_IMAPQuotaOperation.cpp index 5ac954f0..56666bca 100644 --- a/src/java/native/com_libmailcore_IMAPQuotaOperation.cpp +++ b/src/java/native/com_libmailcore_IMAPQuotaOperation.cpp @@ -13,13 +13,19 @@ using namespace mailcore; JNIEXPORT jint JNICALL Java_com_libmailcore_IMAPQuotaOperation_usage (JNIEnv * env, jobject obj) { - return MC_JAVA_BRIDGE_GET_SCALAR(jint, usage); + MC_POOL_BEGIN; + jint result = MC_JAVA_BRIDGE_GET_SCALAR(jint, usage); + MC_POOL_END; + return result; } JNIEXPORT jint JNICALL Java_com_libmailcore_IMAPQuotaOperation_limit (JNIEnv * env, jobject obj) { - return MC_JAVA_BRIDGE_GET_SCALAR(jint, limit); + MC_POOL_BEGIN; + jint result = MC_JAVA_BRIDGE_GET_SCALAR(jint, limit); + MC_POOL_END; + return result; } MC_JAVA_BRIDGE |