• Max Kellermann's avatar
    db/SimpleDatabasePlugin: fix memory leak in Visit() · 886255e3
    Max Kellermann authored
    When visiting a song, GetSong() was called, but this object was never
    returned by calling ReturnSong().  This patch locks the database only
    once in Visit() and passes the original song object to the visitor,
    avoiding the copy.
    886255e3
Name
Last commit
Last update
..
ProxyDatabasePlugin.cxx Loading commit data...
ProxyDatabasePlugin.hxx Loading commit data...
SimpleDatabasePlugin.cxx Loading commit data...
SimpleDatabasePlugin.hxx Loading commit data...