forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf903d4d
committed
pg_amcheck: Fix inconsistency in memory freeing
The function in charge of freeing the memory from a result created byPQescapeIdentifier() has to be PQfreemem(), to ensure that bothallocation and free come from libpq, but one spot in pg_amcheck wasmissing that.Oversight inb859d94.Author: Ranier Vilela <ranier.vf@gmail.com>Reviewed-by: vignesh C <vignesh21@gmail.com>Discussion:https://postgr.es/m/CAEudQArD_nKSnYCNUZiPPsJ2tNXgRmLbXGSOrH1vpOF_XtP0Vg@mail.gmail.comDiscussion:https://postgr.es/m/CAEudQArbTWVSbxq608GRmXJjnNSQ0B6R7CSffNnj2hPWMUsRNg@mail.gmail.comBackpatch-through: 141 parent7c906c5 commitf903d4d
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
559 | 559 |
| |
560 | 560 |
| |
561 | 561 |
| |
562 |
| - | |
| 562 | + | |
563 | 563 |
| |
564 | 564 |
| |
565 | 565 |
| |
|
0 commit comments
Comments
(0)