-
Max Kellermann authored
This fixes use-after-free bug in SimpleDatabase::Close(), accessing the `root` object which was already freed by the `catch` block in Open(). By having the Database on the stack first, we can avoid calling Close() on the failed-to-open Database from Instance's destructor. Closes #482
cc28a7b6
| Name |
Last commit
|
Last update |
|---|---|---|
| android | ||
| build | ||
| doc | ||
| python/build | ||
| src | ||
| systemd | ||
| test | ||
| win32 | ||
| .gitignore | ||
| .travis.yml | ||
| AUTHORS | ||
| COPYING | ||
| NEWS | ||
| README.md | ||
| meson.build | ||
| meson_options.txt | ||
| mpd.svg | ||
| valgrind.suppressions |