]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fixed potential memory leak which could occur if an
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 12 Jan 2013 22:32:32 +0000 (17:32 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 12 Jan 2013 22:32:32 +0000 (17:32 -0500)
commit973fd4a28a1fb6a11a27997874d57234ae6f384d
tree79772cf5ac7c03ce030fbf925d01a4c5768fc064
parent9f72910c7c1cc70486c825ddc53d0b293f1b0d8b
Fixed potential memory leak which could occur if an
arbitrary number of :func:`.sessionmaker` objects
were created.   The anonymous subclass created by
the sessionmaker, when dereferenced, would not be garbage
collected due to remaining class-level references from the
event package.  This issue also applies to any custom system
that made use of ad-hoc subclasses in conjunction with
an event dispatcher. [ticket:2650]
doc/build/changelog/changelog_07.rst
lib/sqlalchemy/event.py
test/aaa_profiling/test_memusage.py
test/base/test_events.py