Commit a7be300
committed
udf: Fix memory leak when mounting
udf_process_sequence() allocates temporary array for processing
partition descriptors on volume which it fails to free. Free the array
when it is not needed anymore.
Fixes: 7b78fd0 ("udf: Fix handling of Partition Descriptors")
CC: [email protected]
Reported-by: [email protected]
Signed-off-by: Jan Kara <[email protected]>1 parent aa9f666 commit a7be300
1 file changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1690 | 1690 | | |
1691 | 1691 | | |
1692 | 1692 | | |
1693 | | - | |
| 1693 | + | |
| 1694 | + | |
1694 | 1695 | | |
1695 | 1696 | | |
1696 | 1697 | | |
| |||
1710 | 1711 | | |
1711 | 1712 | | |
1712 | 1713 | | |
1713 | | - | |
| 1714 | + | |
| 1715 | + | |
1714 | 1716 | | |
1715 | 1717 | | |
1716 | 1718 | | |
| |||
1732 | 1734 | | |
1733 | 1735 | | |
1734 | 1736 | | |
1735 | | - | |
| 1737 | + | |
| 1738 | + | |
1736 | 1739 | | |
1737 | 1740 | | |
1738 | 1741 | | |
1739 | | - | |
| 1742 | + | |
1740 | 1743 | | |
1741 | 1744 | | |
1742 | 1745 | | |
1743 | 1746 | | |
1744 | 1747 | | |
1745 | 1748 | | |
1746 | | - | |
| 1749 | + | |
1747 | 1750 | | |
1748 | 1751 | | |
1749 | 1752 | | |
1750 | 1753 | | |
1751 | 1754 | | |
1752 | 1755 | | |
1753 | | - | |
| 1756 | + | |
1754 | 1757 | | |
1755 | | - | |
1756 | | - | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
1757 | 1762 | | |
1758 | 1763 | | |
1759 | 1764 | | |
| |||
0 commit comments