commit | d74145285373193af8584ac86ee73c7aea3e1600 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Mar 29 13:45:18 2010 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Mar 29 13:45:18 2010 -0700 |
tree | 6fcc000c7634f82eab97b860ebc171856d4f2023 | |
parent | 9c3cee9824026764275e4d84ba9b5d9fdc5da690 [diff] |
fix [2542425] memory leak during video recording Vector::sort() is using _do_copy() incorrectly; _do_copy() calls the copy constructor, not the assignment operator, so we need to destroy the "destination" before copying the item. Change-Id: Iaeeac808fa5341a7d219edeba4aa63d44f31473c