diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/smbta-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/smbta-util.c b/source3/utils/smbta-util.c index 5b081655e1..6dfa0d524b 100644 --- a/source3/utils/smbta-util.c +++ b/source3/utils/smbta-util.c @@ -154,6 +154,7 @@ static void load_key_from_file_and_activate( char *filename) if (akey != NULL) { printf("Removing the old key.\n"); delete_key(); + SAFE_FREE(akey); } printf("Installing the key from file %s\n",filename); secrets_store("smb_traffic_analyzer_key", key, strlen(key)+1); |