Chromium Code Reviews| 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); |