mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Free connection options array after use.
This commit is contained in:
1
config.c
1
config.c
@@ -325,6 +325,7 @@ parse_config(t_configuration_options *options)
|
|||||||
log_err(_("Parameter 'conninfo' is invalid: %s"), conninfo_errmsg);
|
log_err(_("Parameter 'conninfo' is invalid: %s"), conninfo_errmsg);
|
||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
|
PQconninfoFree(conninfo_options);
|
||||||
|
|
||||||
/* The following checks are for valid parameter values */
|
/* The following checks are for valid parameter values */
|
||||||
if (options->master_response_timeout <= 0)
|
if (options->master_response_timeout <= 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user