forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc95765f

Amit Kapila
Remove unnecessary pstrdup in fetch_table_list.
The result of TextDatumGetCString is already palloc'ed so we don't need toallocate memory for it again. We decide not to backpatch it as theredoesn't seem to be any case where it can create a meaningful leak.Author: Zhijie HouReviewed-by: Daniel GustafssonDiscussion:https://postgr.es/m/229fed2eb8c54c71a96ccb99e516eb12@G08CNEXMBPEKD05.g08.fujitsu.local1 parentc9a0dc3 commitc95765f
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1267 | 1267 |
| |
1268 | 1268 |
| |
1269 | 1269 |
| |
1270 |
| - | |
| 1270 | + | |
1271 | 1271 |
| |
1272 | 1272 |
| |
1273 | 1273 |
| |
|
0 commit comments
Comments
(0)