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

Unified Diff: chrome/nacl/sel_main.cc

Issue 2753002: NaCl: Remove call to NaClAppDtor() (Closed)
Patch Set: Created 10 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/nacl/sel_main.cc
diff --git a/chrome/nacl/sel_main.cc b/chrome/nacl/sel_main.cc
index a7c5e8d0e7a07830cc47d03af252946626dcd23e..445f283ec64a587effc419ea692b69643b544b24 100644
--- a/chrome/nacl/sel_main.cc
+++ b/chrome/nacl/sel_main.cc
@@ -89,7 +89,7 @@ int SelMain(const int desc, const NaClHandle handle) {
if (!NaClAppCtor(&state)) {
fprintf(stderr, "Error while constructing app state\n");
- goto done_file_dtor;
+ goto done;
}
state.restrict_to_main_thread = main_thread_only;
@@ -192,11 +192,6 @@ int SelMain(const int desc, const NaClHandle handle) {
done:
fflush(stdout);
- NaClAppDtor(&state);
-
- done_file_dtor:
- fflush(stdout);
-
NaClAllModulesFini();
return ret_code;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698