- Notifications
You must be signed in to change notification settings - Fork5
Commitc859294
committed
Remove hash_destroy calls in hash_create's failure paths. As noted by
a Coverity warning, these are risky since the hashtable isn't necessarilyfully set up yet. They're unnecessary anyway: a deletable hashtableshould be in a memory context that will be cleared following elog(ERROR).Per report from Martijn van Oosterhout.1 parentf058451 commitc859294
1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
396 | | - | |
397 | 395 | | |
398 | | - | |
399 | 396 | | |
400 | 397 | | |
401 | 398 | | |
| |||
409 | 406 | | |
410 | 407 | | |
411 | 408 | | |
412 | | - | |
413 | | - | |
414 | 409 | | |
415 | 410 | | |
416 | 411 | | |
417 | | - | |
418 | 412 | | |
419 | 413 | | |
420 | 414 | | |
| |||
0 commit comments
Comments
(0)