We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59a2111 commit 37732a2Copy full SHA for 37732a2
src/bin/pg_dump/pg_dump.c
@@ -11580,6 +11580,7 @@ dumpAccessMethod(Archive *fout, AccessMethodInfo *aminfo)
11580
default:
11581
write_msg(NULL, "WARNING: invalid type %c of access method %s\n",
11582
aminfo->amtype, qamname);
11583
+ pg_free(qamname);
11584
destroyPQExpBuffer(q);
11585
destroyPQExpBuffer(delq);
11586
destroyPQExpBuffer(labelq);
@@ -11609,7 +11610,7 @@ dumpAccessMethod(Archive *fout, AccessMethodInfo *aminfo)
11609
11610
NULL, "",
11611
aminfo->dobj.catId, 0, aminfo->dobj.dumpId);
11612
- free(qamname);
11613
11614
11615
11616
0 commit comments