# the parser of command line arguments of the backend leak:save_ps_display_args # a bunch of not freed addrinfo sctructs, escaped values etc. leak:initdb.c # shlibs loaded with dlsym() never gets dlclose'd # TODO: needs an investigation as it is down the call stack # of exec_simple_query->PortalRun leak:internal_load_library # pg_config utility does not free configdata leak:pg_config/pg_config.c # A psprintf() result assigned to the global var pgdata_opt leak:bin/pg_ctl/pg_ctl.c # TODO: A couple of not freed char *. Whilst wit's trivially to fix # meson complains with "maybe-uninitialized" on free() leak:bin/psql/describe.c # options parsing during the regressions start leak:regression_main # Static funcs in /bin/psql/startup.c are used # during the start to parse options leak:simple_action_list_append leak:parse_psql_options # `varname` doesn't get freed in the case of warning and `continue` in the loop # # bin/psql/common.c leak:StoreQueryTuple #pg_dump leak:getSchemaData leak:dumpDumpableObject #pg_rewind leak:decide_file_actions leak:GenerateRecoveryConfig # Returns strdup'd string which never gets freed in frontend tools. Trying to # free it leads to comiler complains that it discards 'const' qualifier. leak:get_progname # A buch of not freed allocations in putVariableInt right before exit(1). And # malloced `threads` ("Thread state") never gets released (allocated in main(), # once, and not in loop). leak:bin/pgbench/pgbench.c # Frontend utilities leak the return of this function in PostgreSQL 18 leak:GetDbnameFromConnectionOptions