Skip to content

Commit 046001f

Browse files
committed
Plug memory leak
Introduced by b08dee2. Noted by Coverity.
1 parent 013c1f6 commit 046001f

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
@@ -4335,6 +4335,7 @@ append_depends_on_extension(Archive *fout,
43354335
}
43364336

43374337
PQclear(res);
4338+
destroyPQExpBuffer(query);
43384339
pg_free(nm);
43394340
}
43404341
}

0 commit comments

Comments
 (0)