forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita2d75b6
committed
Remove useless pg_strdup() operations.
split_to_stringlist() doesn't modify its first argument nor expect itto remain valid after exit, so there's no need to duplicate the optargstring at the call sites. Per Coverity. (This has been wrong all along,but commit052cc22 changed the useless calls from "strdup" to"pg_strdup", which apparently made Coverity think it's a new bug.It's not, but it's also not worth back-patching.)1 parente21db14 commita2d75b6
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2064 | 2064 |
| |
2065 | 2065 |
| |
2066 | 2066 |
| |
2067 |
| - | |
| 2067 | + | |
2068 | 2068 |
| |
2069 | 2069 |
| |
2070 | 2070 |
| |
| |||
2114 | 2114 |
| |
2115 | 2115 |
| |
2116 | 2116 |
| |
2117 |
| - | |
| 2117 | + | |
2118 | 2118 |
| |
2119 | 2119 |
| |
2120 | 2120 |
| |
|
0 commit comments
Comments
(0)