fixed memory leak

fixes https://oss-fuzz.com/testcase-detail/5675417580339200
This commit is contained in:
Frank Morgner 2020-05-18 16:38:43 +02:00
parent 93bed892a8
commit 7e1679b2db
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ static int insert_key(
sc_log(ctx,
"Select(%s) failed\n",
sc_print_path(&prkey_info.path));
sc_file_free(f);
return 1;
}
if (f->prop_attr[1] & 0x04) can_crypt=1;