Fixes bug 30148, which is also CID
1437429 and CID
1437454. Bugfix
on 0.3.3.1-alpha, when separate key directories became a thing.
--- /dev/null
+ o Minor bugfixes (memory leak):
+ - Avoid a minor memory leak that could occur on relays when
+ creating a keys directory failed. Fixes bug 30148; bugfix on
+ 0.3.3.1-alpha.
/* Check/Create the key directory */
if (create_keys_directory(options) < 0)
- return -1;
+ goto err;
char *fname;
if (options->master_key_fname) {
rsa_ed_crosscert = NULL; // redundant
rsa_ed_crosscert_len = 0;
}
-