From 6904d4c42781286dcec4be8e51faaba5fdc4e766 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sun, 3 Sep 2017 15:46:38 -0400 Subject: [PATCH] purposeResult is not an owned reference. --- platform-independent/cli-c/cli/mpw-cli.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform-independent/cli-c/cli/mpw-cli.c b/platform-independent/cli-c/cli/mpw-cli.c index a70e936f..30c136d0 100644 --- a/platform-independent/cli-c/cli/mpw-cli.c +++ b/platform-independent/cli-c/cli/mpw-cli.c @@ -242,8 +242,7 @@ void cli_free(Arguments *args, Operation *operation) { if (operation) { mpw_free_strings( &operation->fullName, &operation->masterPassword, &operation->siteName, NULL ); - mpw_free_strings( &operation->keyContext, &operation->sitesPath, &operation->purposeResult, NULL ); - mpw_free_strings( &operation->resultState, &operation->resultParam, NULL ); + mpw_free_strings( &operation->keyContext, &operation->sitesPath, &operation->resultState, &operation->resultParam, NULL ); mpw_marshal_free( &operation->user ); operation->site = NULL; operation->question = NULL;