Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: native_client_sdk/src/libraries/ppapi_simple/ps_main.cc

Issue 601963002: [NaCl SDK]: nacl_io: add nacl_io_uninit function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_leak
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/nacl_io.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/ppapi_simple/ps_main.cc
diff --git a/native_client_sdk/src/libraries/ppapi_simple/ps_main.cc b/native_client_sdk/src/libraries/ppapi_simple/ps_main.cc
index 3b634f99329664df75bfba9541fd7650fe0d2f58..8ab1213e53ce9b5a75fa32b74e1be864f69f8290 100644
--- a/native_client_sdk/src/libraries/ppapi_simple/ps_main.cc
+++ b/native_client_sdk/src/libraries/ppapi_simple/ps_main.cc
@@ -43,5 +43,7 @@ int main(int argc, char* argv[]) {
// By default, or if not running in the browser we simply run the main
// entry point directly, on the main thread.
nacl_io_init();
- return PSUserMainGet()(argc, argv);
+ int rtn = PSUserMainGet()(argc, argv);
+ nacl_io_uninit();
+ return rtn;
}
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/nacl_io.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698