- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit762c6d8
committed
Remove unnecessary complication around xmlParseBalancedChunkMemory.
When I prepared71c0921 et al yesterday, I was thinking that thelogic involving explicitly freeing the node_list output was stillneeded to dodge leakage bugs in libxml2. But I was misremembering:we introduced that only because with early 2.13.x releases we couldnot trust xmlParseBalancedChunkMemory's result code, so we had tolook to see if a node list was returned or not. There's no reasonto believe that xmlParseBalancedChunkMemory will fail to clean upthe node list when required, so simplify. (This essentiallycompletes reverting all the non-cosmetic changes in6082b3d.)Reported-by: Jim Jones <jim.jones@uni-muenster.de>Author: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/997668.1753802857@sss.pgh.pa.usBackpatch-through: 131 parentd861b92 commit762c6d8
1 file changed
+1
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1862 | 1862 | | |
1863 | 1863 | | |
1864 | 1864 | | |
1865 | | - | |
1866 | | - | |
1867 | 1865 | | |
1868 | 1866 | | |
1869 | | - | |
| 1867 | + | |
1870 | 1868 | | |
1871 | 1869 | | |
1872 | 1870 | | |
1873 | 1871 | | |
1874 | 1872 | | |
1875 | | - | |
1876 | 1873 | | |
1877 | 1874 | | |
1878 | | - | |
1879 | | - | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
1883 | 1875 | | |
1884 | 1876 | | |
1885 | 1877 | | |
| |||
0 commit comments
Comments
(0)