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

Unified Diff: native_client_sdk/src/libraries/nacl_io/nacl_io.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
Index: native_client_sdk/src/libraries/nacl_io/nacl_io.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/nacl_io.cc b/native_client_sdk/src/libraries/nacl_io/nacl_io.cc
index 1459ab19f518a3028a332345d14d8e5f6fe3dc71..b1134f106b905ce420fe0c7af91fe6cccb85c8bb 100644
--- a/native_client_sdk/src/libraries/nacl_io/nacl_io.cc
+++ b/native_client_sdk/src/libraries/nacl_io/nacl_io.cc
@@ -12,6 +12,10 @@ void nacl_io_init() {
ki_init(NULL);
}
+void nacl_io_uninit() {
+ ki_uninit();
+}
+
void nacl_io_init_ppapi(PP_Instance instance, PPB_GetInterface get_interface) {
ki_init_ppapi(NULL, instance, get_interface);
}
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/nacl_io.h ('k') | native_client_sdk/src/libraries/ppapi_simple/ps_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698