fixed memory leak
fixes https://oss-fuzz.com/testcase-detail/5675417580339200
This commit is contained in:
parent
93bed892a8
commit
7e1679b2db
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue