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

Neil Conway
Fix some minor infelicities in ecpg's pgtypeslib: (1) `pstr' must be
non-NULL in this function, so there is no need to check for it (2) weshould check the return value of pgtypes_strdup(). Patch from EricAstor at EnterpriseDB, with slight cleanup by myself, per a reportfrom the Coverity tool.1 parent898a7bd commit9fad4cb
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2669 | 2669 |
| |
2670 | 2670 |
| |
2671 | 2671 |
| |
2672 |
| - | |
2673 |
| - | |
| 2672 | + | |
2674 | 2673 |
| |
2675 | 2674 |
| |
2676 | 2675 |
| |
| |||
2699 | 2698 |
| |
2700 | 2699 |
| |
2701 | 2700 |
| |
2702 |
| - | |
2703 |
| - | |
| 2701 | + | |
| 2702 | + | |
| 2703 | + | |
| 2704 | + | |
2704 | 2705 |
| |
2705 | 2706 |
| |
2706 | 2707 |
| |
|
0 commit comments
Comments
(0)