- Notifications
You must be signed in to change notification settings - Fork5.2k
Commitd5f014d
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 parent1fe9e38 commitd5f014d
1 file changed
+1
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1883 | 1883 | | |
1884 | 1884 | | |
1885 | 1885 | | |
1886 | | - | |
1887 | | - | |
1888 | 1886 | | |
1889 | 1887 | | |
1890 | | - | |
| 1888 | + | |
1891 | 1889 | | |
1892 | 1890 | | |
1893 | 1891 | | |
1894 | 1892 | | |
1895 | 1893 | | |
1896 | | - | |
1897 | 1894 | | |
1898 | 1895 | | |
1899 | | - | |
1900 | | - | |
1901 | | - | |
1902 | | - | |
1903 | | - | |
1904 | 1896 | | |
1905 | 1897 | | |
1906 | 1898 | | |
| |||
0 commit comments
Comments
(0)