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

Unified Diff: src/tspi/tsp_maint.c

Issue 3581012: Upgrade from trousers 0.3.3 to 0.3.6 and from testsuite 0.2 to 0.3. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/trousers.git
Patch Set: git cl push Created 10 years, 2 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 | « src/tspi/tsp_context_mem.c ('k') | src/tspi/tsp_migration.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/tspi/tsp_maint.c
diff --git a/src/tspi/tsp_maint.c b/src/tspi/tsp_maint.c
index 59a26d032f78c4070953ad9203701afabe06632a..3e50dddd67d30b90f4295dd5847fbf0add9c81b8 100644
--- a/src/tspi/tsp_maint.c
+++ b/src/tspi/tsp_maint.c
@@ -61,7 +61,7 @@ Transport_CreateMaintenanceArchive(TSS_HCONTEXT tspContext, /* in */
Trspi_UnloadBlob_UINT32(&offset, archiveSize, dec);
if ((*archive = malloc(*archiveSize)) == NULL) {
- free(random);
+ free(*random);
*random = NULL;
*randomSize = 0;
free(dec);
« no previous file with comments | « src/tspi/tsp_context_mem.c ('k') | src/tspi/tsp_migration.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698