forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8bf5af2
committed
Fix small memory leak in psql's \bind command
psql_scan_slash_option() returns a malloc()'d result through aPQExpBuffer, and exec_command_bind() was doing an extra allocation ofthis option for no effect.Introduced in5b66de3.Author: Kyotaro HoriguchiReviewed-by: Corey HuinkerDiscussion:https://postgr.es/m/20230221.115555.89096938631423206.horikyota.ntt@gmail.com1 parent1a943d0 commit8bf5af2
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
480 | 480 |
| |
481 | 481 |
| |
482 | 482 |
| |
483 |
| - | |
| 483 | + | |
484 | 484 |
| |
485 | 485 |
| |
486 | 486 |
| |
|
0 commit comments
Comments
(0)