summaryrefslogtreecommitdiffstats
path: root/chrome/nacl
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/nacl')
-rw-r--r--chrome/nacl/sel_main.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/nacl/sel_main.cc b/chrome/nacl/sel_main.cc
index a7c5e8d..445f283 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;