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

Unified Diff: gdb/nacl-manifest.c

Issue 11953013: Fix crash on executing nacl-manifest twice. (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: update description Created 7 years, 11 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: gdb/nacl-manifest.c
diff --git a/gdb/nacl-manifest.c b/gdb/nacl-manifest.c
index 5627d269d7804bdd59956902ad584392c6e0fc04..c32c98cfd4796579d74820edcfcf02ae030626a3 100644
--- a/gdb/nacl-manifest.c
+++ b/gdb/nacl-manifest.c
@@ -118,7 +118,9 @@ static void
nacl_manifest_free (void)
{
nacl_manifest_free_list(nacl_file_list_32);
+ nacl_file_list_32 = NULL;
nacl_manifest_free_list(nacl_file_list_64);
+ nacl_file_list_64 = NULL;
xfree (nacl_program_filename_32);
xfree (nacl_program_filename_64);
nacl_program_filename_32 = NULL;
« 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