Skip to content

Commit cf72898

Browse files
committed
Plug memory leak
Introduced by b08dee2. Noted by Coverity.
1 parent 390984f commit cf72898

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4329,6 +4329,7 @@ append_depends_on_extension(Archive *fout,
43294329
}
43304330

43314331
PQclear(res);
4332+
destroyPQExpBuffer(query);
43324333
pg_free(nm);
43334334
}
43344335
}

0 commit comments

Comments
 (0)