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; |