summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index b6a0260..d3a52da 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -136,7 +136,7 @@ plist_t tss_create_request(plist_t build_identity, uint64_t ecid, unsigned char*
break;
if (!manifest_entry || plist_get_node_type(manifest_entry) != PLIST_DICT) {
error("ERROR: Unable to fetch BuildManifest entry\n");
- free(tss_request);
+ plist_free(tss_request);
return NULL;
}