mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
Fix assorted memory leaks.
Per Coverity (not that any of these are so non-obvious that they should not have been caught before commit). The extent of leakage is probably minor to unnoticeable, but a leak is a leak. Back-patch as necessary. Michael Paquier
This commit is contained in:
@@ -414,6 +414,7 @@ DropReplicationSlot(PGconn *conn, const char *slot_name)
|
||||
return false;
|
||||
}
|
||||
|
||||
destroyPQExpBuffer(query);
|
||||
PQclear(res);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user