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