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

Unified Diff: src/tspi/tsp_migration.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_maint.c ('k') | src/tspi/tsp_policy.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/tspi/tsp_migration.c
diff --git a/src/tspi/tsp_migration.c b/src/tspi/tsp_migration.c
index 06b9c988c57046ca588dc9d52fb6b0580d727b73..9c83753fac92e14c676a567b71c94c12d6c30367 100644
--- a/src/tspi/tsp_migration.c
+++ b/src/tspi/tsp_migration.c
@@ -101,7 +101,7 @@ Transport_CreateMigrationBlob(TSS_HCONTEXT tspContext, /* in */
Trspi_UnloadBlob_UINT32(&offset, outDataSize, dec);
if ((*outData = malloc(*outDataSize)) == NULL) {
- free(random);
+ free(*random);
*random = NULL;
*randomSize = 0;
free(dec);
« no previous file with comments | « src/tspi/tsp_maint.c ('k') | src/tspi/tsp_policy.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698